X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave.korn@artimi.com>
To: <cygwin@cygwin.com>
Subject: RE: Small fix to Cygwin FAQ
Date: Tue, 18 Apr 2006 19:45:35 +0100
Message-ID: <003301c66318$4792dd50$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
Content-Type: text/plain; 	charset="utf-8"
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <444529C7.9080204@loskot.net>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
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
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k3IIjlOS016849

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.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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


