On Sunday, February 2, 2014 12:06:25 PM UTC-8, ZyX wrote:
> > How about using a shell script: 
> ? I am talking about unsetting environment variables which are set in vim. 
> How is this script related?

Your original post said:
vim -u NONE -c 'unlet $PATH'

It looked as though you were referring to system not vim.

If you were trying to use 'unset' in vim it is without the '$'.

vim -u NONE -c 'unlet PATH'

But...
The '-u NONE' starts vim without your .vimrc.
Where would vim get variables to unset?

-- 
-- 
You received this message from the "vim_dev" 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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Raspunde prin e-mail lui