Hacker News new | ask | show | jobs
by CamT 5615 days ago
I believe that vim sources env files rather than rc. For example, any aliases placed in my zshenv are available in vim but those in zshrc are not. I would imagine that applies to other shells as well.
1 comments

Zsh always source zshenv, regardless of login/interactive options. AFAIK, Bash has no equivalent.