[arch-general] Setting global environment variable
Ty John
ty-ml at eye-of-odin.com
Mon Feb 1 17:21:11 EST 2010
On Mon, 1 Feb 2010 17:13:55 -0500
Daenyth Blank <daenyth+arch at gmail.com> wrote:
> On Mon, Feb 1, 2010 at 17:11, Ty John <ty-ml at eye-of-odin.com> wrote:
> > Basically, I want to set and unset the variable when I connect and
> > disconnect the VPN.
>
> The best way is probably to have a set of aliases in your bashrc that
> run it and set the variables. Scripts and functions cannpt modify the
> calling environment.
Thanks Daenyth,
I knew it would be something simple like that. Works perfectly.
More information about the arch-general
mailing list