delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/18/14:59:06

X-Spam-Check-By: sourceware.org
Message-ID: <444536E0.4000507@loskot.net>
Date: Tue, 18 Apr 2006 20:58:40 +0200
From: =?UTF-8?B?TWF0ZXVzeiDFgW9za290?= <mateusz AT loskot DOT net>
User-Agent: Thunderbird 1.5 (Windows/20051201)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Small fix to Cygwin FAQ
References: <003301c66318$4792dd50$a501a8c0 AT CAM DOT ARTIMI DOT COM>
In-Reply-To: <003301c66318$4792dd50$a501a8c0@CAM.ARTIMI.COM>
OpenPGP: id=BB2AC1F2; url=http://mateusz.loskot.net/pgp.asc
X-cPanel-MailScanner-Information: Please contact the ISP for more information
X-cPanel-MailScanner: Found to be clean
X-cPanel-MailScanner-SpamCheck:
X-cPanel-MailScanner-From: mateusz AT loskot DOT net
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

Dave Korn wrote:
> On 18 April 2006 19:03, Mateusz Loskot wrote:
>> Igor Peshansky wrote:
>>> On Tue, 18 Apr 2006, Mateusz oskot wrote:
>>> 
>>>> I'm Mateusz, a new user of Cygwin. [snip] I tested this note
>>>> and I noticed that .bashrc is not loaded when launching
>>>> cygwin.bat or bash --login -i command.
>>>
>>> Well, no, it isn't.  However, ~/.bash_profile is, and it should
>>> have been added by the default installation script.  And the
>>> default ~/.bash_profile reads ~/.bashrc, so you get the same
>>> functionality whether you are in a login shell or not.
>> OK, but why FAQ does not instruct user to edit ~/.bash_profile
>> file?
> 
> 
> Because it's all the completely standard behaviour of bash as
> documented in the bash info/man pages; .bashrc, as the fine manual
> makes clear, is only loaded when a interactive *NON* login shell is
> started.

OK. It's clear.

Best regards
-- 
Mateusz Ɓoskot
http://mateusz.loskot.net

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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