diff options
Diffstat (limited to 'git-hooks/post-checkout')
-rwxr-xr-x | git-hooks/post-checkout | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/git-hooks/post-checkout b/git-hooks/post-checkout new file mode 100755 index 00000000..dfceaee2 --- /dev/null +++ b/git-hooks/post-checkout @@ -0,0 +1,6 @@ +#!/usr/bin/env zsh +if [[ -x =emacs ]] +then + emacs --batch -f batch-byte-compile ~/.emacs.d/init.el + emacs --batch -f batch-byte-compile ~/.emacs.d/elisp/*.el +fi |