diff options
author | Alan Pearce | 2015-11-16 15:37:17 +0100 |
---|---|---|
committer | Alan Pearce | 2015-11-16 15:42:19 +0100 |
commit | eaad53be0b89234332b67f6c4d980c4cd8efcf8c (patch) | |
tree | f983009bb46ea7ed9818518b469ab8f5c301350a /hooks/post-up | |
parent | 0e0d0fbd9a9926739c014b83f268fe06e113bfe4 (diff) | |
download | nixfiles-eaad53be0b89234332b67f6c4d980c4cd8efcf8c.tar.lz nixfiles-eaad53be0b89234332b67f6c4d980c4cd8efcf8c.tar.zst nixfiles-eaad53be0b89234332b67f6c4d980c4cd8efcf8c.zip |
Emacs: Remove cask and pallet
Instead, use a package-directory based upon the emacs version, which was the main feature about cask, for me.
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 |