X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 	tests=AWL,BAYES_00,J_CHICKENPOX_84,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <20090711204227.63272.qmail@web3313.mail.ogk.yahoo.co.jp>
References: <673dd2610907110244h6d6345f3tf74b8ba78c555559@mail.gmail.com> 	 <20090711204227.63272.qmail@web3313.mail.ogk.yahoo.co.jp>
Date: Sun, 12 Jul 2009 14:03:04 +0800
Message-ID: <673dd2610907112303l7e294cb1y5e491527920c3e2@mail.gmail.com>
Subject: Re: [1.5.25-15] bash won't load .bashrc after i rename it as  	`sh.exe'.
From: "chengxianle@gmail.com" <chengxianle@gmail.com>
To: matsuoka@nuce.nagoya-u.ac.jp
Cc: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
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

Hi, Tatsuro

Thanks for your help.
Yes, .bash_profile was loaded when run bash as `bash --login'.
But still, won't load when run as `sh' or `sh --login'.

Jason

2009/7/12 Tatsuro MATSUOKA <tmacchant2@yahoo.co.jp>:
> Hello
>
> Please make the file
>
> .bash_profile
>
> and describe
>
> source .bashrc
>
> in it
>
> Regards
>
> Tatsuro
> --- "chengxianle@gmail.com" =C2=A0wrote:
>
>> bash.exe loads my .bashrc in $HOME directory.
>> But when i copy bash.exe as sh.exe, .bashrc won't be loaded.
>> Rename as anything(like sh1.exe, sh2.exe, ...) except `sh.exe' works fin=
e!
>>
>> Jason
>> > --
>> Problem reports: =C2=A0 =C2=A0 =C2=A0 http://cygwin.com/problems.html
>> FAQ: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 http=
://cygwin.com/faq/
>> Documentation: =C2=A0 =C2=A0 =C2=A0 =C2=A0 http://cygwin.com/docs.html
>> Unsubscribe info: =C2=A0 =C2=A0 =C2=A0http://cygwin.com/ml/#unsubscribe-=
simple
>
>
> --------------------------------------
> Power up the Internet with Yahoo! Toolbar.
> http://pr.mail.yahoo.co.jp/toolbar/
>

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

