.bashrc

Thorsten Kampe thorsten@thorstenkampe.de
Mon Jun 29 14:51:00 GMT 2009


* Andy Koppe (Mon, 29 Jun 2009 09:43:44 +0100)
> 2009/6/29 Dave Tang:
> > So I've changed my home directory to /home/d.tang in my passwd file. I
> > copied the .bashrc into my new home directory.
> >
> > But when I restart cygwin, it still doesn't load the .bashrc.
> 
> Bash on Cygwin is normally invoked as a login shell, in which case it
> doesn't source .bashrc. Instead, it sources .bash_profile or .profile,
> so unless you explicitly source .bashrc from there, it won't be
> processed.

Excellent point. The default .bash_profile takes care of that.

Thorsten


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list