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: "Thomas 'Tom' R. Treadway III" <email@hidden>
- Date: Fri, 7 Feb 2003 10:53:09 -0800
> 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.
That's why PATH (and other environment variables)
should NOT be set in .bashrc (.kshrc)
trt
-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.
--
Thomas R. Treadway
Computer Scientist
Lawrence Livermore Nat'l Lab
7000 East Avenue, L-365
Livermore, CA 94550-0611
_______________________________________________
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.