diff --git a/editor/emacs/install b/editor/emacs/install index dae63f74..56b297c0 100755 --- a/editor/emacs/install +++ b/editor/emacs/install @@ -21,7 +21,7 @@ esac if [ ! -d "$HOME/.emacs.d" ]; then - repo "hlissner/.emacs.d" "$HOME/.emacs.d" + git clone --recursive "hlissner/.emacs.d" "$HOME/.emacs.d" cd "$HOME/.emacs.d" make install make snippets diff --git a/editor/emacs/update b/editor/emacs/update index ce9e4e7c..ff5eced3 100755 --- a/editor/emacs/update +++ b/editor/emacs/update @@ -1,6 +1,5 @@ #!/usr/bin/env bash -if [[ -d ~/.emacs.d ]] -then - cd ~/.emacs.d && make update -fi +[ -d "~/.cask" ] && { cd ~/.cask && git pull } +[ -d "~/.emacs.d" ] && { cd ~/.emacs.d && make update } +