Browse Source

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

custom
Bozhidar Batsov 13 years ago
parent
commit
228520f222
  1. 3
      prelude/prelude-osx.el

3
prelude/prelude-osx.el

@ -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…
Cancel
Save