Re: Bash login shells with X11 (executing .bash_profile, .bashrc)
Re: Bash login shells with X11 (executing .bash_profile, .bashrc)
- Subject: Re: Bash login shells with X11 (executing .bash_profile, .bashrc)
- From: email@hidden
- Date: Fri, 7 Feb 2003 11:13:26 -0500
On Fri, Feb 07, 2003 at 10:09:26AM -0500, email@hidden wrote:
:
: On Thu, 6 Feb 2003, Lawrence You wrote:
:
: > Has anyone been able to get .bash_profile to be executed without
: > having to specify "xterm --login"? When I start up an xterm from the
: > X11 Beta, .bash_profile doesn't get run at any time.
:
: Yes. .bash_profile should get executed automatically when the bash
: shell starts up.
Nope, ~/.bash_profile is read only if it is an interactive login shell.
If it's an interactive non-login shell, bash reads ~/.bashrc only.
Yes, thanks for the clarification.
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.