branch: elpa/exec-path-from-shell
commit 49219e9425048b897d3da9bf684c18a2869dfc4e
Author: Steve Purcell <[email protected]>
Commit: Steve Purcell <[email protected]>
Append exec-directory to exec-path, as is conventional
---
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 540159c566..84d7c6a4c5 100644
--- a/exec-path-from-shell.el
+++ b/exec-path-from-shell.el
@@ -146,7 +146,7 @@ variables such as `exec-path'."
(setenv name value)
(when (string-equal "PATH" name)
(setq eshell-path-env value
- exec-path (parse-colon-path value))))
+ exec-path (append (parse-colon-path value) (list exec-directory)))))
;;;###autoload
(defun exec-path-from-shell-copy-envs (names)