Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <43300529.2070306@pooryorick.com> Date: Tue, 20 Sep 2005 08:48:41 -0400 From: Poor Yorick User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) MIME-Version: 1.0 CC: cygwin AT cygwin DOT com Subject: Re: bash not running bash_profile or bashrc References: <092020050211 DOT 3222 DOT 432F6FE600083E5A00000C9622073000330A050E040D0C079D0A AT comcast DOT net> In-Reply-To: <092020050211.3222.432F6FE600083E5A00000C9622073000330A050E040D0C079D0A@comcast.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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/