summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dot/bashrc5
1 files changed, 3 insertions, 2 deletions
diff --git a/dot/bashrc b/dot/bashrc
index b7e8af3..041b876 100644
--- a/dot/bashrc
+++ b/dot/bashrc
@@ -411,9 +411,10 @@ newfile()
411get_spacemacs() 411get_spacemacs()
412{ 412{
413 if [ -d "$HOME/.emacs.d" ] 413 if [ -d "$HOME/.emacs.d" ]
414 then return 414 then
415 else git clone --depth=1 https://github.com/syl20bnr/spacemacs ~/.emacs.d 415 rmdir "$HOME/.emacs.d" || return
416 fi 416 fi
417 git clone --depth=1 https://github.com/syl20bnr/spacemacs ~/.emacs.d
417} 418}
418 419
419get_youtube-dl() 420get_youtube-dl()