delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/02/12/16:41:21

X-Recipient: archive-cygwin AT delorie DOT 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 DOT lefevre-lists AT laposte DOT 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 AT cygwin DOT com
Subject: Re: .bashrc file not run
References: <244882 DOT 68384 DOT qm AT web34508 DOT mail DOT mud DOT yahoo DOT com> <4B741CEB DOT 6070706 AT towo DOT net> <1ef5a52f1002110730v4325a8a0qd8e371019530a5da AT mail DOT gmail DOT com> <490452 DOT 20994 DOT qm AT web34508 DOT mail DOT mud DOT yahoo DOT com> <e75034cabf80ff8bc51091d71fa4bfbb DOT squirrel AT mail DOT morrison DOT mine DOT nu> <hl34u1$uk9$1 AT ger DOT gmane DOT org> <52a6260eb78f20003f0c02d953065d71 DOT squirrel AT mail DOT morrison DOT mine DOT nu> <hl3sto$i00$2 AT ger DOT gmane DOT org>
In-Reply-To: <hl3sto$i00$2@ger.gmane.org>
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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

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 DOT Lefevre-lists AT laposte DOT 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

- Raw text -


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