Re: How do you run xterm without losing your environment variables and aliases?
- From: "Tony Lawrence" <pcunix@xxxxxxxxx>
- Date: 26 Dec 2006 10:53:39 -0800
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
.
- References:
- Prev by Date: Re: How do you run xterm without losing your environment variables and aliases?
- Next by Date: Re: Character set conversion (through ssh)
- Previous by thread: Re: How do you run xterm without losing your environment variables and aliases?
- Next by thread: Re: How do you run xterm without losing your environment variables and aliases?
- Index(es):
Relevant Pages
|