mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -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
|
(defvar doom-private-dir
|
||||||
(eval-when-compile
|
(eval-when-compile
|
||||||
(or (let ((xdg-path
|
(or (getenv "DOOMDIR")
|
||||||
|
(let ((xdg-path
|
||||||
(expand-file-name "doom/"
|
(expand-file-name "doom/"
|
||||||
(or (getenv "XDG_CONFIG_HOME")
|
(or (getenv "XDG_CONFIG_HOME")
|
||||||
"~/.config"))))
|
"~/.config"))))
|
||||||
|
Reference in New Issue
Block a user