mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Add DOOMDIR envvar
So doom-private-dir can be customized via shell dotfiles (or chemacs).
This commit is contained in:
@ -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"))))
|
||||
|
Reference in New Issue
Block a user