Skip to content

Commit

Permalink
added $HOME/bin to the path env variable under osx
Browse files Browse the repository at this point in the history
  • Loading branch information
bbatsov committed Sep 23, 2012
1 parent bf3c8ce commit 228520f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion prelude/prelude-osx.el
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
;; the shell.
;; If you're using homebrew or port, modifying the PATH is essential.
(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)
(setq osx-paths (concat (concat path ":") osx-paths))))

Expand Down

0 comments on commit 228520f

Please sign in to comment.