all repos — nixfiles @ 31511a9c2284f7394b60e56bbf4389a69bce535c

System and user configuration, managed by nix and home-manager

rcm: Run `cask install` for emacs, if installed

Alan Pearce
commit

31511a9c2284f7394b60e56bbf4389a69bce535c

parent

560868dbb5e7d19d166bab4da1d0221adba887bb

1 file changed, 6 insertions(+), 0 deletions(-)

jump to
M hooks/post-up/emacshooks/post-up/emacs
@@ -2,5 +2,11 @@ #!/usr/bin/env zsh
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