Re: Eliminating the xterm
Re: Eliminating the xterm
- Subject: Re: Eliminating the xterm
- From: Francisco De La Cruz <email@hidden>
- Date: Sat, 17 Nov 2007 20:51:15 -0500
Which is what I'm doing with "XTerm*LoginShell: true".
/etc/profile does even look at my .bash_profile but the .bashrc and /
etc/bashrc.
This is the easiest way of accomplishing this.
Now, again, what are consecuences (negative) of forcing a loging shell
all the time.
I tried commenting the line in ~/Xterm and exported PATH from
~/.bashrc to no avail.
Did I read you use zsh? How do set your PATH?
-f
On Nov 17, 2007, at 7:39 PM, Jeremy Huddleston wrote:
xterm -ls just causes the shell launched by xterm to be a login
shell. That is, it runs 'bash --login' rather than 'bash' for the
shell. A login shell uses ~/.bash_profile when it starts.
--Jeremy
On Nov 17, 2007, at 5:19 PM, Francisco De La Cruz wrote:
Perhaps. What are consequences of this action?
-f
On Nov 17, 2007, at 7:07 PM, Jeremy Huddleston wrote:
This is pretty philosophical... I don't see the launhced xterm as
a login terminal, so I don't really agree that it should use -ls
to force bash to load .profile (or .bash_profile)... It should
just load ~/.bashrc
--Jeremy
On Nov 17, 2007, at 3:21 PM, Mark E. Perkins wrote:
On 2007/11/17 17:23, Francisco De La Cruz wrote:
Well that did it.
Added "XTerm*LoginShell: true" tothe top of my new ~/Xterm so
that it
loads my ~/.bash_profile.
BTW, that's equivalent to running 'xterm -ls' (which I think was
suggested
earlier as a fix for this issue).
Mark
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden