Saturday, June 23, 2012

Re: $PATH is different in Vim that in parent shell

You can change PATH in vim (as you can change any env var):

let $PATH='/no-such/dir'

and then try :!echo 'hello world'

your shell will no longer be found.

Why is your vim's PATH different? Don't know

vim -V20/tmp/log will show you all viml lines. grep for PATH.

If this doesn't help you the I don't know how to debug it.

env vars can also be changed for child processes, see man exec.
However this should not happen in your shell.

Marc Weber

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: