.bashrc
Andy Koppe
andy.koppe@gmail.com
Mon Jun 29 09:52:00 GMT 2009
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
More information about the Cygwin
mailing list