This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Small fix to Cygwin FAQ


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]