mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-19 13:43:36 -05:00
doom-load-envvars-file: split-string->parse-colon-path
This commit is contained in:
@@ -437,8 +437,7 @@ in interactive sessions, nil otherwise (but logs a warning)."
|
||||
(setenv var value)))))
|
||||
(when vars
|
||||
(setq-default
|
||||
exec-path (append (split-string (getenv "PATH")
|
||||
(if IS-WINDOWS ";" ":"))
|
||||
exec-path (append (parse-colon-path (getenv "PATH"))
|
||||
(list exec-directory))
|
||||
shell-file-name (or (getenv "SHELL")
|
||||
shell-file-name))
|
||||
|
Reference in New Issue
Block a user