added $HOME/bin to the path env variable under osx
This commit is contained in:
parent
bf3c8ce11d
commit
228520f222
1 changed files with 2 additions and 1 deletions
|
@ -2,7 +2,8 @@
|
||||||
;; the shell.
|
;; the shell.
|
||||||
;; If you're using homebrew or port, modifying the PATH is essential.
|
;; If you're using homebrew or port, modifying the PATH is essential.
|
||||||
(let (osx-paths)
|
(let (osx-paths)
|
||||||
(dolist (path '("/usr/local/bin" "/opt/local/bin" "/opt/local/sbin") (setenv "PATH" (concat osx-paths (getenv "PATH"))))
|
(dolist (path '("/usr/local/bin" "/opt/local/bin" "/opt/local/sbin" "$HOME/bin")
|
||||||
|
(setenv "PATH" (concat osx-paths (getenv "PATH"))))
|
||||||
(push path exec-path)
|
(push path exec-path)
|
||||||
(setq osx-paths (concat (concat path ":") osx-paths))))
|
(setq osx-paths (concat (concat path ":") osx-paths))))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue