.bashrc

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


Hello,

I have cygwin installed on Windows XP and for some reason my .bashrc file  
isn't loaded on startup. I read the FAQ "Why doesn't bash read my .bashrc  
file on startup?" but my HOME environment variable is set up i.e. when I  
echo $HOME it is correct. I actually copied my .bashrc to the root  
directory and it still doesn't load.

Could someone explain how I can set up my .bashrc?

Many thanks,

Dave

P.S. Here's the FAQ from  
http://cygwin.com/1.7/faq/faq.using.html#faq.using.bashrc

7. Why doesn't bash read my .bashrc file on startup?
	
Your .bashrc is read from your home directory specified by the HOME  
environment variable. It uses /.bashrc if HOME is not set. So you need to  
set HOME (and the home dir in your /etc/passwd entry) correctly.

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