On Wed, Dec 23, 2009 at 12:09 PM, björn <[email protected]> wrote: > 2009/12/21 Matt Southerden: >> I've searched the group and found lots of threads about paths, most of >> which centre around not having the path set, and resulting in setting >> the 'run in login shell' preference. >> >> I do have my path set using this method, but I am getting the path >> jumbled up into a different order. All of the the items in my path are >> the same if I echo $PATH from vim or the shell, but the order is >> different. >> >> (in fact, my whole 'env' is the same for both, apart from the vars vim >> adds) >> >> Any ideas why this may be? > > I don't really understand these issues very well...but I just checked > on my end and what I do is to modify $PATH inside ~/.profile like this > > export PATH=/usr/local/sbin:/usr/local/bin:~/bin:$PATH > > When I do ":echo $PATH" in MacVim those paths are added twice (once at > the beginning and once at the end of the PATH). Weird. > > Does anybody else know why this might be?
I *don't* see this behavior. I essentially do the same as you: build up the PATH variable in my .bash_profile. Are you setting this anyplace else? Do you see the same doubling effect if you just echo $PATH in a shell? Or is it only in MacVim? -- Ed Marczak e: [email protected] w: http://www.radiotope.com/writing -- You received this message from the "vim_mac" maillist. For more information, visit http://www.vim.org/maillist.php
