Which path uses MacVim?

170 views
Skip to first unread message

Niels Kobschätzki

unread,
May 18, 2012, 10:13:21 AM5/18/12
to vim...@googlegroups.com
Hi,

which $PATH does MacVim use? When I do :!echo $PATH it significantly
differs from the path I use in zsh or bash.
Where do I set the $PATH for MacVim?

Niels

Ben Schmidt

unread,
Jun 18, 2012, 1:16:40 PM6/18/12
to vim...@googlegroups.com, Niels Kobschätzki
MacVim uses a login shell, as Terminal.app does, however it is not an
interactive shell. For bash, this means your PATH settings need to be in
~/.profile not ~/.bashrc. I'm not sure about zsh, but check its
documentation for where to put commands to run for all login shells
(whether interactive or not) and it should work.

Smiles,

Ben.



Giovanni Lanzani

unread,
Jun 20, 2012, 6:20:05 AM6/20/12
to vim...@googlegroups.com
For zsh you can follow the advice given at

https://github.com/b4winckler/macvim/wiki/Troubleshooting
Reply all
Reply to author
Forward
0 new messages