Reset exec-path/shell-file-name on doom/reload-env
This commit is contained in:
parent
5c3188afd5
commit
fd48329c36
|
@ -63,7 +63,12 @@ Uses the same mechanism as 'bin/doom env reload'."
|
|||
(sit-for 1))
|
||||
(unless (file-readable-p doom-env-file)
|
||||
(error "Failed to generate env file"))
|
||||
(load-env-vars doom-env-file))
|
||||
(load-env-vars doom-env-file)
|
||||
(setq-default
|
||||
exec-path (append (split-string (getenv "PATH") ":")
|
||||
(list exec-directory))
|
||||
shell-file-name (or (getenv "SHELL")
|
||||
shell-file-name)))
|
||||
|
||||
;;;###autoload
|
||||
(defun doom/reload-font ()
|
||||
|
|
Loading…
Reference in New Issue
Block a user