X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-3.2 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 22:50:18 +1000
To: cygwin@cygwin.com
Subject: Re: .bashrc
From: "Dave Tang" <d.tang@imb.uq.edu.au>
Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15
MIME-Version: 1.0
References: <op.uv9tlrmx8cr96e@imb09-02635.imbpc.ad>  <4A48571D.1020902@tlinx.org> <op.uv9vxeqh8cr96e@imb09-02635.imbpc.ad>  <h29obr$l5r$1@ger.gmane.org> <op.uv9x9cje8cr96e@imb09-02635.imbpc.ad>  <h29q23$q6d$1@ger.gmane.org> <op.uv9zb6c68cr96e@imb09-02635.imbpc.ad>  <416096c60906290143o4f101c20k27f76a93783da0e8@mail.gmail.com>
Content-Transfer-Encoding: 7bit
Message-ID: <op.uwadx4fd8cr96e@imb09-02635.imbpc.ad>
In-Reply-To: <416096c60906290143o4f101c20k27f76a93783da0e8@mail.gmail.com>
User-Agent: Opera Mail/9.64 (Win32)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
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

On Mon, 29 Jun 2009 18:43:44 +1000, Andy Koppe <andy.koppe@gmail.com>  
wrote:

> 2009/6/29 Dave Tang:
>> 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.
>
> Bash on Cygwin is normally invoked as a login shell, in which case it
> doesn't source .bashrc. Instead, it sources .bash_profile or .profile,
> so unless you explicitly source .bashrc from there, it won't be
> processed.
>
> See here for the full story:
> http://www.gnu.org/software/bash/manual/bashref.html#Bash-Startup-Files

Thank you Andy! Problem was the missing .bash_profile file.

Cheers,

Dave

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

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


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

