Permalink
Browse files

fix up exec path to be the same one configured for bash

  • Loading branch information...
1 parent 89235d1 commit c8cefb046d7c8badf8067d4d8e4055ccf9254500 @stesla committed Nov 11, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 init.d/exec-path.el
View
@@ -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.