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

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -