branch: elpa/exec-path-from-shell
commit de589a96baaf1d2741d4b06dc2f773962951cafe
Author: Steve Purcell <[email protected]>
Commit: Steve Purcell <[email protected]>
Use parse-colon-path to split $PATH
---
exec-path-from-shell.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/exec-path-from-shell.el b/exec-path-from-shell.el
index c80245542c..6c148906a8 100644
--- a/exec-path-from-shell.el
+++ b/exec-path-from-shell.el
@@ -113,7 +113,7 @@ variables such as `exec-path'."
(setenv name value)
(when (string-equal "PATH" name)
(setq eshell-path-env value
- exec-path (split-string value path-separator))))
+ exec-path (parse-colon-path value))))
;;;###autoload
(defun exec-path-from-shell-copy-envs (names)