This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Login-related questions


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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]