X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 	tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SARE_FREE_WEBM_LAPOSTE
X-Spam-Check-By: sourceware.org
Message-ID: <4B75CAEF.5040205@laposte.net>
Date: Fri, 12 Feb 2010 22:41:03 +0100
From: Cyrille Lefevre <cyrille.lefevre-lists@laposte.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.3) Gecko/20070326 Thunderbird/2.0.0.0 Mnenhy/0.7.5.666
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: .bashrc file not run
References: <244882.68384.qm@web34508.mail.mud.yahoo.com> <4B741CEB.6070706@towo.net> <1ef5a52f1002110730v4325a8a0qd8e371019530a5da@mail.gmail.com> <490452.20994.qm@web34508.mail.mud.yahoo.com> <e75034cabf80ff8bc51091d71fa4bfbb.squirrel@mail.morrison.mine.nu> <hl34u1$uk9$1@ger.gmane.org> <52a6260eb78f20003f0c02d953065d71.squirrel@mail.morrison.mine.nu> <hl3sto$i00$2@ger.gmane.org>
In-Reply-To: <hl3sto$i00$2@ger.gmane.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
X-me-spamlevel: not-spam
X-me-spamrating: 40.000000
X-me-spamcause:  OK, (0)(0000)gggruggvucftvghtrhhoucdtuddrvdeltddrfedtucetggdotefuucfrrhhofhhilhgvmecuoehnohhnvgeqnecuuegrihhlohhuthemuceftddtnecu
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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


Thorsten Kampe a =E9crit :
> * John Morrison (Fri, 12 Feb 2010 09:17:15 -0000)
>> Thanks for that clarification; should I change the base-files?  Or create
>> ~/.profile as a copy/link? to ~/.bash_profile?
>=20
> There is no need for a ~/.profile. Only keep ~/.bash_profile

IMHO, .bash_profile is a piece of crap for a long time now...
since bash knows to load .profile if .bash_profile doesn't exist,
it should be named .profile.
this greatly simplify the account's setup.
this week, I've again encounter an account which have change his
default shell to ksh (or even sh) and which have the wrong profile
loaded (well, no profile at all, in fact).
it's far more simple ti check for $BASH_VERSION to known if you
are running bash or something else than to use a different profile.

Regards,

Cyrille Lefevre
--=20
mailto:Cyrille.Lefevre-lists@laposte.net



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

