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:
Henrik Lissner 2019-04-03 01:53:20 -04:00
parent 9648af6f30
commit 2a079e2733
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -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)