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" ];
|
if [ ! -d "$HOME/.emacs.d" ];
|
||||||
then
|
then
|
||||||
repo "hlissner/.emacs.d" "$HOME/.emacs.d"
|
git clone --recursive "hlissner/.emacs.d" "$HOME/.emacs.d"
|
||||||
cd "$HOME/.emacs.d"
|
cd "$HOME/.emacs.d"
|
||||||
make install
|
make install
|
||||||
make snippets
|
make snippets
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
if [[ -d ~/.emacs.d ]]
|
[ -d "~/.cask" ] && { cd ~/.cask && git pull }
|
||||||
then
|
[ -d "~/.emacs.d" ] && { cd ~/.emacs.d && make update }
|
||||||
cd ~/.emacs.d && make update
|
|
||||||
fi
|
|
||||||
|
|
Loading…
Reference in a new issue