This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: .bashrc


* 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


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