added the exec-path-from-shell package
This commit is contained in:
parent
901b903e10
commit
618a4627dc
2 changed files with 3 additions and 8 deletions
|
@ -1,11 +1,6 @@
|
|||
;; On OS X Emacs doesn't use the shell PATH if it's not started from
|
||||
;; 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" "$HOME/bin")
|
||||
(setenv "PATH" (concat osx-paths (getenv "PATH"))))
|
||||
(push path exec-path)
|
||||
(setq osx-paths (concat (concat path ":") osx-paths))))
|
||||
;; the shell. Let's fix that:
|
||||
(exec-path-from-shell-initialize)
|
||||
|
||||
;; Emacs users obviously have little need for Command and Option keys,
|
||||
;; but they do need Meta and Super
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
(setq url-http-attempt-keepalives nil)
|
||||
|
||||
(defvar prelude-packages
|
||||
'(ack-and-a-half expand-region gist guru-mode helm helm-projectile magit magithub melpa
|
||||
'(ack-and-a-half exec-path-from-shell expand-region gist guru-mode helm helm-projectile magit magithub melpa
|
||||
rainbow-mode volatile-highlights yasnippet solarized-theme zenburn-theme)
|
||||
"A list of packages to ensure are installed at launch.")
|
||||
|
||||
|
|
Loading…
Reference in a new issue