delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/09/20/08:50:26

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <com DOT cygwin DOT cygwin AT pooryorick DOT com>
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>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019