[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Startup behaviour regarding files
From: |
olof |
Subject: |
Re: Startup behaviour regarding files |
Date: |
Tue, 20 Feb 2001 14:02:41 +0100 |
User-agent: |
Wanderlust/2.4.0 (Rio) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) MULE XEmacs/21.1 (patch 12) (Channel Islands) (i386-unknown-openbsd2.8) |
>>>>> "Branden" == Branden <branden_p6@hotmail.com> writes:
Branden> Is this really the correct behaviour? Shouldn't bash
Branden> execute ~/.bashrc on login scripts? I read tcsh manpage
Branden> and I see tcsh calls ~/.cshrc for both login and
Branden> not-login interactive shells.
Why are You reading the tcsh manpage to find out how bash works? It
does not make sense to me.
Branden> If this isn't a bug, what is the correct distribution of
Branden> instructions between /etc/profile, ~/.bash_profile and
Branden> ~/.bashrc ? (Please reply to my mail address.)
Read the bash manpage, the INVOCATION section clearly states that a
login shell only reads the profile if it exists.
If you want it to source the .bashrc, add
[ -f $HOME/.bashrc ] && . $HOME/.bashrc
in your $HOME/.bash_profile
/Olof
--