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]

.bashrc file not run


Hello,

This problem has me stumped. 

I have windows XP and cygwin with bash version 3.2.49(23)-release.

I have set my passwd file to include my home directory /home/blueneil.
I have placed .bashrc in my home directory and made it executable.
I have placed .bashrc_profile in my home directory and made it executable, with content:
export HOME=/home/blueneil

When I login, the environment settings I put in .bashrc don't get run.
If I source ~/.bashrc they are included as expected.

Also I have added some configuration to /etc/bash.bashrc it does not get run.

If I 'su blueneil' into my own account ~/.bashrc is executed.
If I 'ssh localhost' ~/.bashrc is not executed.

The only odd configuration I think I have is that the default windows directory is a mapped network drive, but the configuration in /etc/password should fix this as far as I understand?

Does anyone have any suggestions please as to where or how to start looking into this.

Thanks
Neil



      

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