[26150] in Athena Bugs
Re: $initdir scripts
daemon@ATHENA.MIT.EDU (Greg Hudson)
Fri Oct 22 15:14:03 2004
From: Greg Hudson <ghudson@mit.edu>
To: Jacob Morzinski <jmorzins@mit.edu>
In-Reply-To: <Pine.GSO.4.58L.0410221438310.22705@bart-savagewood.mit.edu>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Message-Id: <1098472400.13060.186.camel@egyptian-gods.mit.edu>
Mime-Version: 1.0
Date: Fri, 22 Oct 2004 15:13:21 -0400
cc: bugs@mit.edu
Errors-To: bugs-bounces@mit.edu
On Fri, 2004-10-22 at 14:57, Jacob Morzinski wrote:
> Even if you don't change the code for sourcing the bashrc, will
> you consider adding a comment explaining that purpose of the
> line is to imitate C shell behavior? Something like...
>
> # Imitate C shell behavior of sourcing the rc file:
Well, I think the primary reason we do it is because we rely on the
environment setup performed by bashrc.
I'll add this comment:
# Unlike tcsh, bash does not source .bashrc in a login shell. Since
# we rely on the environment setup performed by bashrc, source it
# explicitly.