$PATH in Vim doesn't match Terminal

Posted by donut on Super User See other posts from Super User or by donut
Published on 2009-08-28T13:56:51Z Indexed on 2010/04/02 6:23 UTC
Read the original article Hit count: 414

Filed under:
|
|
|
|

I'm using MacVim and when I don't launch it from the Terminal (mvim) its $PATH does not include what I have set in my .bash_profile. It only seems to have the default values, /usr/bin:/bin:/usr/sbin:/sbin.

I'm running OS X 10.5.8. Even if I could set it manually in my .vimrc that would be okay, though I would prefer it to pull from the same place as Terminal. I've tried following what one site suggested, adding let $PATH += /blah/foo:/bar/etc to no avail.

Edit/Solution: See my answer below. MacVim has an option to fix this.

© Super User or respective owner

Related posts about vim

Related posts about macvim