Skip to content

Commit

Permalink
fix up exec path to be the same one configured for bash
Browse files Browse the repository at this point in the history
  • Loading branch information
stesla committed Nov 11, 2011
1 parent 89235d1 commit c8cefb0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions init.d/exec-path.el
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,4 @@
;;; Get the same path for Emacs that we do for Bash
(let ((path (shell-command-to-string "/bin/bash --login -c 'echo -n \"$PATH\"'")))
(setenv "PATH" path)
(setq exec-path (split-string path ":")))

0 comments on commit c8cefb0

Please sign in to comment.