mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Set default exec-path & shell-file-name
In case doom-load-envvars-file is called when these vars have local bindings.
This commit is contained in:
@ -422,7 +422,8 @@ in interactive sessions, nil otherwise (but logs a warning)."
|
|||||||
(line-beginning-position))
|
(line-beginning-position))
|
||||||
(point-max))))))
|
(point-max))))))
|
||||||
(setenv var value)))))
|
(setenv var value)))))
|
||||||
(setq exec-path (append (split-string (getenv "PATH")
|
(setq-default
|
||||||
|
exec-path (append (split-string (getenv "PATH")
|
||||||
(if IS-WINDOWS ";" ":"))
|
(if IS-WINDOWS ";" ":"))
|
||||||
(list exec-directory))
|
(list exec-directory))
|
||||||
shell-file-name (or (getenv "SHELL")
|
shell-file-name (or (getenv "SHELL")
|
||||||
|
Reference in New Issue
Block a user