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: Aidan Kehoe <email@hidden>
- Date: Fri, 7 Feb 2003 15:32:22 +0000
Ar an 7z la de mm 2, scrmobh email@hidden :
> 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.
If a shell isn't a login shell, ~/.bash_profile shouldn't be
sourced. If you want to make XTerms run login shells by default,
specify the X resource XTerm*loginShell to be true . If, on the other
hand, you have shell code you want to be run at every interactive
invocation of bash, put it in ~/.bashrc .
--
"I have heard the swelling cry of the English speaking peoples of the
world, and it tells me their cause is served best by flaming the few
complacent asses on usenet." -- T. Samant, 29 June 1997
_______________________________________________
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.