Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <43300529.2070306@pooryorick.com>
Date: Tue, 20 Sep 2005 08:48:41 -0400
From: Poor Yorick <com.cygwin.cygwin@pooryorick.com>
User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
MIME-Version: 1.0
CC: cygwin@cygwin.com
Subject: Re: bash not running bash_profile or bashrc
References: <092020050211.3222.432F6FE600083E5A00000C9622073000330A050E040D0C079D0A@comcast.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/

