syntax for env -u foo
Steve Flynn
anothermindbomb at gmail.com
Sun Mar 18 22:58:36 UTC 2012
On 16 March 2012 23:43, Thufir Hawat <hawat.thufir at gmail.com> wrote:
> On Fri, 16 Mar 2012 23:04:50 +0200, Marius Gedminas wrote:
>
>>> but it seems like the usual syntax is env -u foo;
>>
>> It's 'env -u VARIABLE command-you-want-to-run-with-the-modified-env'.
>
>
> Ah, I see. I'm trying to remove rvm from the path, and I think this
> command is what does that against the path variable?
edit the .profile or .cshrc or ".whatever your favourite shell uses to
initialise itself" and edit the PATH= line to remove rvm.
If you don't so this, rvm will be back in your path the next time you
login, which I presume you don't want.
--
Steve
When one person suffers from a delusion it is insanity. When many
people suffer from a delusion it is called religion.
More information about the ubuntu-users
mailing list