mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
fix(cli): load $DOOMRC relative to $PWD
Rather than doing so relative to bin/doom.
This commit is contained in:
2
bin/doom
2
bin/doom
@ -314,7 +314,7 @@ SEE ALSO:
|
|||||||
(let (doomrc)
|
(let (doomrc)
|
||||||
(cond
|
(cond
|
||||||
((setq doomrc (getenv "DOOMRC"))
|
((setq doomrc (getenv "DOOMRC"))
|
||||||
(load! doomrc))
|
(load! doomrc default-directory))
|
||||||
((setq doomrc (locate-dominating-file default-directory ".doomrc"))
|
((setq doomrc (locate-dominating-file default-directory ".doomrc"))
|
||||||
(load! ".doomrc" doomrc)))))
|
(load! ".doomrc" doomrc)))))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user