osx - Making the PATH and other environment variables available in emacs -
working emacs in osx can times troubling.
i interchange using terminal.app application , emace shell both of these use bash, , both seem work, have problem environment not setup identically in both.
i'm running clean installation of osx lion, , emacs 24 emacs , environment variables in emacs shell make same in terminal.app under osx. how fix that?
just install awesome little package exec-path-from-shell , you're done! automatically set emacs exec-path
same path
in zsh/bash
config.
it allow copy values of other shell variables this:
(exec-path-from-shell-copy-env "pythonpath")
Comments
Post a Comment