delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/01/16/17:53:15

From: fjh AT cs DOT mu DOT OZ DOT AU (Fergus Henderson)
Subject: Re: Login-related questions
16 Jan 1998 17:53:15 -0800 :
Message-ID: <19980115115730.04080.cygnus.gnu-win32@mundook.cs.mu.OZ.AU>
References: <34BB1F60 AT ncrdnde DOT dundee DOT ncr DOT com>
Mime-Version: 1.0
To: "Smith, Martin" <martin AT buntypost DOT dundee DOT ncr DOT com>
Cc: "'gnu-win32'" <gnu-win32 AT cygnus DOT com>

On 13-Jan-1998, Smith, Martin <martin AT buntypost DOT dundee DOT ncr DOT com> wrote:
> When opening a (non-login) Bash shell, my .bashrc is read okay (after I   
> set HOME=/usr/home/martin in my environment via the NT control panel).   
> However, when I use a login shell, it seems not to read .bashrc (I no   
> longer have my colourized 'ls' for example). Why might this be?

For login shells, bash reads ~/.bash_profile rather than ~/.bashrc.
Try adding `source ~/.bashrc' to your ~/.bash_profile file.

-- 
Fergus Henderson <fjh AT cs DOT mu DOT oz DOT au>   |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
PGP: finger fjh AT 128 DOT 250 DOT 37 DOT 3         |     -- the last words of T. S. Garp.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019