Updated OS X hooks to set PATH environment variable

This commit is contained in:
Feynman Liang 2012-05-04 10:57:50 -04:00
parent d0177c3009
commit 6ebc4f1c55

View file

@ -1,6 +1,7 @@
;; On OS X Emacs doesn't use the shell PATH if it's not started from ;; On OS X Emacs doesn't use the shell PATH if it's not started from
;; the shell. If you're using homebrew modifying the PATH is essential. ;; the shell. If you're using homebrew modifying the PATH is essential.
(push "/usr/local/bin" exec-path) (push "/usr/local/bin" exec-path)
(setenv "PATH" (concat "/usr/local/bin:" (getenv "PATH")))
;; Emacs users obviously have little need for Command and Option keys, ;; Emacs users obviously have little need for Command and Option keys,
;; but they do need Meta and Super ;; but they do need Meta and Super