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


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.

See here for the full story:
http://www.gnu.org/software/bash/manual/bashref.html#Bash-Startup-Files

Andy

--
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]