Sunday, October 18, 2015

Re: system command takes a different environment variable from current shell?

"Karl (Xiangrong) Cai" <xcai@juniper.net> writes:

> Regarding " What is your _exact_ set of steps that results in echo $c
> showing /volumeNEW/current"
>
> 641% echo $c
> /volume/current
> 642% setenv c /volumeNew/current
> 643% echo $c
> /volumeNew/current

Which shell is this? The original one, or the subshell?

Also, that echo $c command is in the shell, not in vim. I thought you
said you did something to cause :echo $c in vim to show the new value.

--
--
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

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

No comments: