Closed spacegoing closed 6 years ago
Yes, when zsh is executed by Emacs, then zsh will see the PATH environment variable it inherited from the parent process. So zsh should explicitly set that variable itself, which means the above snippet goes in your .zshrc (or .zshenv).
I'm confused by this paragraph. Would you please explain this?
Do you mean my
$PATH
in shell defined by.zshrc
will be overide after executing this command?In which place should I do the following? In
.zshrc
file or in Emacsinit.el
?Many thanks!