[arch-general] Setting global environment variable

Daenyth Blank daenyth+arch at gmail.com
Mon Feb 1 17:13:55 EST 2010


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.


More information about the arch-general mailing list