editor/emacs: update cask + remove repo fn dependency
This commit is contained in:
parent
e700d6cad5
commit
5a33d0d965
|
@ -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
|
||||
|
|
|
@ -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 }
|
||||
|
||||
|
|
Loading…
Reference in a new issue