Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit c8cefb046d7c8badf8067d4d8e4055ccf9254500 1 parent 89235d1
@stesla authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 init.d/exec-path.el
4 init.d/exec-path.el
@@ -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 ":")))
Please sign in to comment.
Something went wrong with that request. Please try again.