Re: tcsh with panther (newbie)
Re: tcsh with panther (newbie)
- Subject: Re: tcsh with panther (newbie)
- From: Joe Davison <email@hidden>
- Date: Tue, 18 May 2004 19:55:31 -0500
On May 18, 2004, at 2:20 PM, Rich Cook wrote:
If you use bash, then just be aware that the files bash reads at
startup are
$HOME/.bashrc
$HOME/.profile
$HOME/.login (sometimes)
Actually, I think you may want to do some experimenting there. In my
files I put
BFILES=$BFILES:.bashrc
or
BFILES=$BFILES:.profile
or
BFILES=$BFILES:.login
or
BFILES=$BFILES:.bash_login
or
as appropriate.
After startup, you can then echo $BFILES and see which files were
loaded, in what order.
I was surprised to find that although zsh loads multiple files, which
depending on how it's invoked (interactive, login, subshell, etc), in a
particular order, bash only loads one of them. Which one it loads
depends on the same issues.
In particular, I was surprised that .bash_login (or .profile) and
.bashrc were not both loaded into a login shell.
Amazingly, it works just like the manpage says!!! (which is different
from what the Zsh manpage says, not surprisingly.) I was used to Ksh,
which, like Zsh, loads multiple files.
joe
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.