As you know that the ctags in OSX is a basic version, and I install a full version of ctags using homebrew, but when I wanna use it in Vim’s command mode, it always ran the basic one. So I checked the $PATH var in Vim’s command mode, like !echo $PATH, and it showed that /usr/local/bin followed the /usr/bin, which was different from the shell environment $PATH, so please kindly tell me how to fix this, many thanks!.
BTW, I changed the $PATH in vimrc file, but it only affected the $PATH if I type the command echo $PATH in Vim’s command mode, not !echo $PATH.
As you know that the ctags in OSX is a basic version, and I
Share
Unfortunately, MacVim won’t be affected by paths you set in
.profileor.bashrc.You can set paths affecting all programs on Mac OS X by using the
/etc/pathsand/etc/paths.d/mechanisms. More detailed explanation here:https://serverfault.com/questions/16355/how-to-set-global-path-on-os-x