summaryrefslogtreecommitdiff
path: root/dot
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2020-05-28 16:16:17 -0400
committerAndrew Cady <d@jerkface.net>2020-05-28 16:16:17 -0400
commitbff2ac56b6c5cc969a5219c5a5bf608439436983 (patch)
treef4c6f7ced6e2c23e6a295dcacc394dc1f46f9c32 /dot
parent5000b07658ac3dd7bc12b7f3ea634aa79b0474a6 (diff)
new function install_spacemacs()
Diffstat (limited to 'dot')
-rw-r--r--dot/bashrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/dot/bashrc b/dot/bashrc
index bef8fc6..2e4ed5d 100644
--- a/dot/bashrc
+++ b/dot/bashrc
@@ -405,6 +405,14 @@ newfile()
405 find . -maxdepth 1 -type f -printf "%T@ %f\0" | sort -z -k1,1 -r | head -z -n1 | cut -d' ' -f2 | xargs -0 printf %s 405 find . -maxdepth 1 -type f -printf "%T@ %f\0" | sort -z -k1,1 -r | head -z -n1 | cut -d' ' -f2 | xargs -0 printf %s
406} 406}
407 407
408install_spacemacs()
409{
410 if [ -d "$HOME/.emacs.d" ]
411 then return
412 else git clone --depth=1 https://github.com/syl20bnr/spacemacs ~/.emacs.d
413 fi
414}
415
408local_bashrc=~/.bashrc.$(hostname) 416local_bashrc=~/.bashrc.$(hostname)
409 417
410if [ -f "$local_bashrc" ]; then 418if [ -f "$local_bashrc" ]; then