mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -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")))
|
||||
|
||||
;; Load shell environment
|
||||
(when (and (or (daemonp) (display-graphic-p))
|
||||
(when (and (not noninteractive)
|
||||
(file-readable-p doom-env-file)
|
||||
(require 'load-env-vars nil t))
|
||||
(load-env-vars doom-env-file)
|
||||
|
Reference in New Issue
Block a user