diff options
-rw-r--r-- | dot/bashrc | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -411,9 +411,10 @@ newfile() | |||
411 | get_spacemacs() | 411 | get_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 | ||
419 | get_youtube-dl() | 420 | get_youtube-dl() |