mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
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:
@ -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)
|
||||||
|
Reference in New Issue
Block a user