screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

.screenrc and env variables


From: bijoy thomas
Subject: .screenrc and env variables
Date: Fri, 01 Dec 2006 16:51:44 -0000

Hi all,

   I trying to modify an environment variable in my
.screenrc file. I have that variable set in my .bashrc
file but when I launch screen, I want it to be set to
a different value by the .screenrc file. In my .bashrc
file I have

export WORK=~/work

I want this to be ~/work1 .. so I tried

setenv WORK ~/work1 in the .screenrc file but that
dint help.

I also tried using the shell command

shell bash --rcfile .blah, where .blah has
export WORK=~/work1

but then screen complains about the argument count to
the shell command.

Any ideas on how to do this?

Thanks,
Bijoy.




 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]