Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

dynamically set env systemwide

Hi,

I'm setting env variable as usual:

$ setenv TEST mytest
$ echo $TEST
mytest

But when I open new terminal window/tab, my env is destroyed and no longer available.

$ echo $TEST
TEST: Undefined variable.

I want dynamically (via scipt) change/set env variable that will be available under all terminal windows. How can I achieve that ?

dynamically set env systemwide

Hi,

I'm setting env variable as usual:

$ setenv TEST mytest
$ echo $TEST
mytest

But when I open new terminal window/tab, my env is destroyed and no longer available.

$ echo $TEST
TEST: Undefined variable.

I want dynamically (via scipt) change/set env variable that will be available under all terminal windows. How can I achieve that ?

dynamically set env and change ENV variable, systemwide

Hi,

I'm setting env variable as usual:

$ setenv TEST MYPROJECT mytest
$ echo $TEST
$MYPROJECT
mytest

But when I open new terminal window/tab, my env is destroyed and no longer available.

$ echo $TEST
TEST: $MYPROJECT
MYPROJECT: Undefined variable.

I want dynamically (via scipt) change/set env variable that will be available under all terminal windows. How can I achieve that ?

dynamically set and change ENV variable, systemwide

Hi,

I'm setting env variable as usual:

$ setenv MYPROJECT mytest
currentproject
$ echo $MYPROJECT
mytest
currentproject

But when I open new terminal window/tab, my env is destroyed and no longer available.

$ echo $MYPROJECT
MYPROJECT: Undefined variable.

I want dynamically (via scipt) change/set env variable that will be available under all terminal windows. I am using it to set what current project I am working on, and I want this variable to be available to every application system wide. And of course I can change which 'project' I am working on by changing $MYPROJECT

How can I achieve that ?