1 2 3 4 5 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