diff options
author | Alan Pearce | 2014-04-13 21:28:02 +0100 |
---|---|---|
committer | Alan Pearce | 2014-04-13 21:28:02 +0100 |
commit | 31511a9c2284f7394b60e56bbf4389a69bce535c (patch) | |
tree | 401215214d2758b0acb1872a72bd216ac6ba3239 /hooks/post-up/emacs | |
parent | 560868dbb5e7d19d166bab4da1d0221adba887bb (diff) | |
download | dotfiles-31511a9c2284f7394b60e56bbf4389a69bce535c.tar.lz dotfiles-31511a9c2284f7394b60e56bbf4389a69bce535c.tar.zst dotfiles-31511a9c2284f7394b60e56bbf4389a69bce535c.zip |
rcm: Run `cask install` for emacs, if installed
Diffstat (limited to 'hooks/post-up/emacs')
-rwxr-xr-x | hooks/post-up/emacs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hooks/post-up/emacs b/hooks/post-up/emacs index f6071b7..6b04ae0 100755 --- a/hooks/post-up/emacs +++ b/hooks/post-up/emacs @@ -2,5 +2,11 @@ if [[ -s $commands[emacs] ]] then + if [[ -s $commands[cask] ]] + then + pushd ~/.emacs.d + cask install + popd + fi emacs --batch --eval '(batch-byte-recompile-directory 0)' ~/.emacs.d/ fi |