X-Recipient: archive-cygwin AT delorie DOT 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 AT mail DOT gmail DOT com> <20090711204227 DOT 63272 DOT qmail AT web3313 DOT mail DOT ogk DOT yahoo DOT co DOT 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 AT gmail DOT com" To: matsuoka AT nuce DOT nagoya-u DOT ac DOT jp Cc: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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 : > Hello > > Please make the file > > .bash_profile > > and describe > > source .bashrc > > in it > > Regards > > Tatsuro > --- "chengxianle AT gmail DOT 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