bin/doom: add -l/--local/DOOMLOCALDIR

Will come in handy for the new testing framework.
This commit is contained in:
Henrik Lissner 2019-07-22 02:35:10 +02:00
parent ebdc9d610b
commit a7ce48c2df
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 8 additions and 1 deletions

View file

@ -38,7 +38,9 @@ decrease this. If you experience stuttering, increase this.")
(defvar doom-modules-dir (concat doom-emacs-dir "modules/")
"The root directory for Doom's modules. Must end with a slash.")
(defvar doom-local-dir (concat doom-emacs-dir ".local/")
(defvar doom-local-dir
(or (getenv "DOOMLOCALDIR")
(concat doom-emacs-dir ".local/"))
"Root directory for local storage.
Use this as a storage location for this system's installation of Doom Emacs.