Fix load-path not including site-lisp directories

This would cause plugins like mu4e to not be detected and included in
the cached load-path generated by doom-package-autoload-file.
This commit is contained in:
Henrik Lissner 2018-05-26 03:02:15 +02:00
parent 0750e877ab
commit fd86bfb027
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -4,8 +4,8 @@
":"; [[ $VERSION == *\ 2[0-2].[0-1].[0-9] ]] && { echo "You're running $VERSION"; echo "That version is too old to run Doom. Check your PATH"; echo; exit 2; }
":"; DOOMDIR=$(dirname "${BASH_SOURCE:-${(%):-%x}}")/..
":"; [[ $1 == doc || $1 == doctor ]] && { cd "$DOOMDIR"; exec emacs --script bin/doom-doctor; exit 0; }
":"; [[ $1 == run ]] && { cd "$DOOMDIR"; shift; exec emacs -Q -l bin/doom "$@"; exit 0; }
":"; exec emacs --quick --script "$0" -- $@
":"; [[ $1 == run ]] && { cd "$DOOMDIR"; shift; exec emacs -q --no-splash -l bin/doom "$@"; exit 0; }
":"; exec emacs --script "$0" -- $@
":"; exit 0
(defun usage ()