Add DOOMDIR envvar
So doom-private-dir can be customized via shell dotfiles (or chemacs).
This commit is contained in:
parent
21779f66ad
commit
dd3872dd32
1 changed files with 2 additions and 1 deletions
|
@ -49,7 +49,8 @@ Use this for files that change often, like cache files.")
|
|||
|
||||
(defvar doom-private-dir
|
||||
(eval-when-compile
|
||||
(or (let ((xdg-path
|
||||
(or (getenv "DOOMDIR")
|
||||
(let ((xdg-path
|
||||
(expand-file-name "doom/"
|
||||
(or (getenv "XDG_CONFIG_HOME")
|
||||
"~/.config"))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue