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: Lawrence You <email@hidden>
- Date: Fri, 7 Feb 2003 10:18:42 -0800
At 9:42 AM -0800 2/7/03, magenta wrote:
> It's subtle, I think I'm being pedantic, but I would like that last
line to say "Yes."
Which doens't make a lot of sense to those of us who actually prefer tcsh
for their commandline interface.
You're right, bash is only one example and I wouldn't want or expect
.bash_profile to be executed for tcsh users. But if you're using
tcsh or csh then wouldn't you want .profile or .login to be executed
once? I think that's the same idea.
As others have stated, if you want
something to happen in all interactive shells, it goes into .bashrc, not
.bash_profile.
Yes, that is close, but not quite what I want. For example, I don't
want .bashrc (or .cshrc) to keep appending to PATH each time it is
started as a subshell.
-Lawrence
_______________________________________________
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.