Closed dgellow closed 7 years ago
.zshrc
is only sourced for interactive shells, so it might be getting skipped due to your particular exec-path-from-shell-arguments
.
You should put environment variable settings like that in your .zshenv
, or in a file which you source from there.
Same issue :s
Okay, so perhaps Emacs doesn't think that your shell is zsh
... what's the result of M-: (getenv "SHELL")
?
@purcell Correct! The SHELL
variable was set to "/bin/bash".
I've setenv
ed it to "/bin/zsh" and everything work as expected.
Thank you for your help 🙇🏻
Happy to help. Glad you figured it out.
Hello,
I have a
.profile
, sourced from my.zshrc
. In.profile
I export a value forGOPATH
Running
exec-path-from-shell-copy-env
in emacs doesn't seem to workAm I doing something wrong?