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: bash not running bash_profile or bashrc


Eric Blake wrote:

gets fired up with startxwin.bat correctly runs .bash_profile. However, if I start another xterm from that xterm, neither .bash_profile nor .bash_rc is run. PS1 gets reset to "$". The second xterm also loses tab-completion functionality. I do, however, in the second xterm, get the "Your group is currently "mkpasswd" message.

Because it might be related, I'll describe a second problem. The command


Yep, it was related - until you have run mkpasswd, /etc/passwd is
unpopulated, so cygwin doesn't know any better than to set your
home directory to:


HOME = `/cygdrive/n'



Thanks for the help. My bash_profile and bashrc are both located in /cygdrive/n, so even with username "mkpasswd", they should still fire up according to normal bash procedures, right?



-- Poor Yorick

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]