diff options
Diffstat (limited to 'hooks/post-up')
-rwxr-xr-x | hooks/post-up/emacs | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/hooks/post-up/emacs b/hooks/post-up/emacs index b8a8edc7..1cc19f9f 100755 --- a/hooks/post-up/emacs +++ b/hooks/post-up/emacs @@ -2,22 +2,13 @@ if [[ -s $commands[emacs] ]] then - if [[ ! -d ~/cask ]] - then - git clone git://github.com/cask/cask ~/.cask - if [[ ! -d ~/bin ]] - then - mkdir ~/bin - fi - ln -s ~/.cask/bin/cask ~/bin/cask - fi pushd ~/.emacs.d - cask install emacs --batch --eval "(progn (find-file \"init.org\") (require 'ob-tangle) (org-babel-tangle nil \"init.el\") (byte-compile-file \"init.el\") +(load-file \"init.el\") )" popd fi |