This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Login-related questions
- To: "Smith, Martin" <martin at buntypost dot dundee dot ncr dot com>
- Subject: Re: Login-related questions
- From: Fergus Henderson <fjh at cs dot mu dot OZ dot AU>
- Date: Thu, 15 Jan 1998 11:57:30 +1100
- Cc: "'gnu-win32'" <gnu-win32 at cygnus dot com>
- References: <34BB1F60@ncrdnde.dundee.ncr.com>
On 13-Jan-1998, Smith, Martin <martin@buntypost.dundee.ncr.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@cs.mu.oz.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@128.250.37.3 | -- the last words of T. S. Garp.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".