Last active
December 10, 2015 19:18
-
-
Save nhunzaker/4480113 to your computer and use it in GitHub Desktop.
Export .zshrc paths into Emacs
This file contains hidden or 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
;; Load .zshrc (of course I am very interested in a better method) | |
(let ((path (shell-command-to-string ". ~/.zshrc; echo -n $PATH"))) | |
(setenv "PATH" path) | |
(setq exec-path | |
(append | |
(split-string-and-unquote path ":") | |
exec-path))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment