Created
September 15, 2012 19:47
-
-
Save mahata/3729471 to your computer and use it in GitHub Desktop.
eshell-path-env and PATH
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun eshell-mode-hook-func () | |
(setq eshell-path-env (concat "/usr/local/bin:" eshell-path-env)) | |
(setenv "PATH" (concat "/usr/local/bin:" (getenv "PATH"))) | |
(define-key eshell-mode-map (kbd "M-s") 'other-window-or-split)) | |
(add-hook 'eshell-mode-hook 'eshell-mode-hook-func) |
Thanks!
Thanks, it's helpful.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks! 😄
Constructive critique: