On Sunday, February 2, 2014 11:08:05 AM UTC-8, ZyX wrote:
> > Note: INTERNAL to vim
> 
> 
> 
> And guess where they are actually stored? In vim process memory. In linux 
> there is a special global variable that is manipulated by various *env 
> functions (see “man getenv”, there is a “SEE ALSO” list at the bottom). AFAIR 
> I saw direct manipulations of this global in zsh sources under some 
> circumstances (*env functions not available: search for USE_SET_UNSET_ENV 
> macros in zsh sources).
> 
> 
> 
> They are internal.

How about using a shell script:

#!/bin/sh
vimx=`which vim`
PATH=""
echo $PATH
exec $vimx

Then in vim:
:echo $PATH
returns empty.

That way you do not disturb the system PATH.

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Raspunde prin e-mail lui