delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/12/02:03:22

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" <chengxianle AT gmail DOT com>
To: matsuoka AT nuce DOT nagoya-u DOT ac DOT jp
Cc: cygwin AT cygwin DOT com
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

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 AT yahoo DOT co DOT jp>:
> 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

- Raw text -


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