doom-load-envvars-file: split-string->parse-colon-path
This commit is contained in:
parent
33998bdaff
commit
eae45e664b
|
@ -437,8 +437,7 @@ in interactive sessions, nil otherwise (but logs a warning)."
|
||||||
(setenv var value)))))
|
(setenv var value)))))
|
||||||
(when vars
|
(when vars
|
||||||
(setq-default
|
(setq-default
|
||||||
exec-path (append (split-string (getenv "PATH")
|
exec-path (append (parse-colon-path (getenv "PATH"))
|
||||||
(if IS-WINDOWS ";" ":"))
|
|
||||||
(list exec-directory))
|
(list exec-directory))
|
||||||
shell-file-name (or (getenv "SHELL")
|
shell-file-name (or (getenv "SHELL")
|
||||||
shell-file-name))
|
shell-file-name))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user