This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
RE: Login-related questions
- To: "Earnie Boyd" <earnie_boyd at hotmail dot com>, "'gnu-win32 at cygnus dot com'" <gnu-win32 at cygnus dot com>, "'fjh at mundook dot cs dot mu dot OZ dot AU'" <fjh at mundook dot cs dot mu dot OZ dot AU>
- Subject: RE: Login-related questions
- From: "Smith, Martin" <martin at buntypost dot dundee dot ncr dot com>
- Date: Thu, 15 Jan 1998 09:47:00 GMT
- Cc: "'jman at lx dot net'" <jman at lx dot net>, "'sos at buggy dot prospect dot com dot ru'" <sos at buggy dot prospect dot com dot ru>
Thank you - this works fine (I'd better go and look at setting up info or
man next :-). Seems my HOME and /etc/passwd were set up okay before and
it was just this that needed to change. Thanks also to the others who
answered my quesion !
I am still curious about the various advantages of logging in to a Bash
shell on my NT desktop though.
Regards,
Martin
-----Original Message-----
You need to read the bash.info file. bash -login will not read the
.bashrc file. You will need to add to the /etc/profile "source
~/.bashrc". This will execute the .bashrc file of the directory pointed
to by HOME.
>From: "Smith, Martin" <martin@buntypost.dundee.ncr.com>
>To: "'gnu-win32'" <gnu-win32@cygnus.com>
>Subject: Login-related questions
>Date: Tue, 13 Jan 1998 07:42:00 GMT
>
>I have just succeeded in getting login to work (after following the
>recommendations I dug out from the archive of this list - thanks).
>However, I have a few questions still....
>
>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 help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".