added $HOME/bin to the path env variable under osx

This commit is contained in:
Bozhidar Batsov 2012-09-23 16:31:25 +03:00
parent bf3c8ce11d
commit 228520f222

View file

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