emacszshzshrc

How do I source my .zshrc within emacs?


When I launch the emacs GUI, PATH is not set depending on my .zshrc. How do I source my .zshrc to set it correctly?

Edit: I'm trying to use swank-clojure but it can't find lein since it's not on the PATH.


Solution

  • This answer is for people who find this question later and are having this problem because of Emacs default behaviour on the Mac,

    If you are on a Mac and wondering how to get emacs to start from the shell where it will pickup your customized ENV in graphical mode instead of text only then start it from zsh with something like this:

     /Applications/Emacs.app/Contents/MacOS/Emacs  
    

    This should cause emacs to see all your shell (zsh or otherwise) customizations.