Re: How do you run xterm without losing your environment variables and aliases?




Dave S. wrote:
When I run xterm from a bash shell on a Linux box, my environment
variables and aliases are not inherited in the xterm window. I have to
rerun my .bash_profile to set the values again.

(I don't think it's relevant, but I am using Cygwin on my Windows
workstation to provide me with an X-server.)

How do you start xterm without losing your environment variables and
aliases?

Put them in .bashrc

But don't get the idea that you just use .bashrc for anything: see
http://aplawrence.com/Detective/shbash.html

--
Tony Lawrence
Unix/Linux/Mac OS X Resources
http://aplawrence.com

.



Relevant Pages