Skip to content

Commit

Permalink
Append exec-directory to exec-path, as is conventional
Browse files Browse the repository at this point in the history
  • Loading branch information
purcell committed Feb 19, 2014
1 parent 3ff20e8 commit 49219e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exec-path-from-shell.el
Expand Up @@ -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)
Expand Down

0 comments on commit 49219e9

Please sign in to comment.