Load env even in tty Emacs
Even if it matches the current shell (or doesn't), the env file should be the authority.
This commit is contained in:
parent
9648af6f30
commit
2a079e2733
1 changed files with 1 additions and 1 deletions
|
@ -456,7 +456,7 @@ to least)."
|
||||||
(user-error "Your package autoloads are missing! Run `bin/doom refresh' to regenerate them")))
|
(user-error "Your package autoloads are missing! Run `bin/doom refresh' to regenerate them")))
|
||||||
|
|
||||||
;; Load shell environment
|
;; Load shell environment
|
||||||
(when (and (or (daemonp) (display-graphic-p))
|
(when (and (not noninteractive)
|
||||||
(file-readable-p doom-env-file)
|
(file-readable-p doom-env-file)
|
||||||
(require 'load-env-vars nil t))
|
(require 'load-env-vars nil t))
|
||||||
(load-env-vars doom-env-file)
|
(load-env-vars doom-env-file)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue