delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/29/03:35:07

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
X-ExtScanner: Niversoft's FindAttachments (free)
Date: Mon, 29 Jun 2009 17:34:44 +1000
To: "Thorsten Kampe" <thorsten AT thorstenkampe DOT de>, cygwin AT cygwin DOT com
Subject: Re: .bashrc
From: "Dave Tang" <d DOT tang AT imb DOT uq DOT edu DOT au>
MIME-Version: 1.0
References: <op DOT uv9tlrmx8cr96e AT imb09-02635 DOT imbpc DOT ad> <4A48571D DOT 1020902 AT tlinx DOT org> <op DOT uv9vxeqh8cr96e AT imb09-02635 DOT imbpc DOT ad> <h29obr$l5r$1 AT ger DOT gmane DOT org> <op DOT uv9x9cje8cr96e AT imb09-02635 DOT imbpc DOT ad> <h29q23$q6d$1 AT ger DOT gmane DOT org>
Message-ID: <op.uv9zb6c68cr96e@imb09-02635.imbpc.ad>
In-Reply-To: <h29q23$q6d$1@ger.gmane.org>
User-Agent: Opera Mail/9.64 (Win32)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On Mon, 29 Jun 2009 17:21:21 +1000, Thorsten Kampe  
<thorsten AT thorstenkampe DOT de> wrote:

> * Dave Tang (Mon, 29 Jun 2009 17:11:26 +1000)
>> >> Do you spot anything funny going on?
>> >
>> > Your prompt and your home directory. Looks like you're not using bash
>> > (but zsh maybe) and not using the defaults.
>>
>> Ah sorry for the confusion, I had modified my PS1 settings (which I  
>> could
>> set after manually sourcing .bashrc) so I just put a % for my prompt in
>> the email.
>>
>> If I start cygwin normally my prompt looks like this:
>>
>> d DOT tang AT imb09-02635 ~
>> $
>>
>> Also
>>
>> d DOT tang AT imb09-02635 ~
>> $ echo $SHELL
>> /bin/bash
>>
>> d DOT tang AT imb09-02635 ~
>> $ echo $0
>> -bash
>
> Doesn't really matter. The important thing is your home directory. Set
> it to /home/d.tang
>
> T.

Thanks for the quick reply.

So I've changed my home directory to /home/d.tang in my passwd file. I  
copied the .bashrc into my new home directory.

But when I restart cygwin, it still doesn't load the .bashrc. Did I do  
something wrong?


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

- Raw text -


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