editor/emacs: update cask + remove repo fn dependency

This commit is contained in:
Henrik Lissner 2016-10-30 14:29:34 +01:00
parent e700d6cad5
commit 5a33d0d965
2 changed files with 4 additions and 5 deletions

View file

@ -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

View file

@ -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 }