.bashrc

Dave Tang d.tang@imb.uq.edu.au
Mon Jun 29 14:40:00 GMT 2009


On Mon, 29 Jun 2009 18:43:44 +1000, Andy Koppe <andy.koppe@gmail.com>  
wrote:

> 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

Thank you Andy! Problem was the missing .bash_profile file.

Cheers,

Dave

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

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


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