| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
| Message-ID: | <000f01c2226a$40adb980$8089fea9@ael> |
| From: | "Alexei Lioubimov" <e-complex AT mtu-net DOT ru> |
| To: | <cygwin AT cygwin DOT com> |
| Subject: | bash 2.05a and cygwin.bat: Why does not bash read .bashrc at startup now? |
| Date: | Wed, 3 Jul 2002 12:14:53 +0400 |
| MIME-Version: | 1.0 |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000 |
Hello,
What had happened with bash?
Before "bash --login -i" considers itself to be interactive login shell and
reads etc/profile, ~/.bash_profile, and ~/.bashrc. But version 2.05a doesn't
want to read ~/.bashrc, instead it requires me to include
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
in my ~/.bash_profile.
Is this the correct behaviour of bash, or something is wrong in my cygwin
installation?
----
Platform: Windows 98, cygwin 1.3.11-3,
$bash --version
GNU bash, version 2.05a.0(3)-release (i686-pc-cygwin)
Copyright 2001 Free Software Foundation, Inc.
----
Thank you,
Alexei Lioubimov
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |