doom-load-envvars-file: split-string->parse-colon-path

This commit is contained in:
Henrik Lissner 2019-10-05 13:00:06 -04:00
parent 33998bdaff
commit eae45e664b
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

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