Alter $PATH in vim/macvim so as to find the right ruby binary
问题 In trying to harmonize environments between a ZSH session and the vim/macvim access of the shell, a which ruby from the shell shows $HOME/.rvm/rubies/ruby-1.9.3/bin/ruby , which is good, while from inside vim/macvim a !which ruby shows /opt/local/bin/ruby , which is bad. I thought copying the invocation of RVM from .zshrc to .zshenv would work but doing so interferes with other utilities. After several days trying to sort this out, I feel stumped. Any suggestions of where documentation to