delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/09/29/14:32:05

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <C322F78942E6D311AF8800D0B73C4FD8830D38@CUPEX3.rational.com>
From: "Masterson, Dave" <dmasters AT rational DOT com>
To: "'Earnie Boyd'" <earnie_boyd AT yahoo DOT com>
Cc: "'cygwin AT sources DOT redhat DOT com'" <cygwin AT sources DOT redhat DOT com>
Subject: RE: /etc/profile in BASH
Date: Fri, 29 Sep 2000 11:28:53 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)

Doh! You're right!  Memory is the second thing to go as you get older...

However, I still don't think these two lines to run ~/.profile and ~/.bashrc
belong in /etc/profile (neither does "cd $HOME").  They subvert the
"--noprofile" and "--norc" options to BASH.

-----Original Message-----
From: Earnie Boyd [mailto:earnie_boyd AT yahoo DOT com]
Sent: Friday, September 29, 2000 11:26 AM
To: Masterson, Dave; 'cygwin AT sources DOT redhat DOT com'
Subject: RE: /etc/profile in BASH


--- "Masterson, Dave" <dmasters AT rational DOT com> wrote:
> I didn't realize that a login BASH doesn't execute ~/.bashrc.  Be that as
it
> may, I think it should be the decision of ~/.bash_profile (or ~/.profile)
> whether to execute ~/.bashrc -- *NOT* /etc/profile.  Putting this into
> /etc/profile makes it too BASH-centric.  What about the [T]CSH users?
Also,
> what about ~/.bash_login files (as described in the MAN page)?
> 

IIRC [t]csh doesn't user /etc/profile.  Use the source, Luke. (tm)

Cheers,

=====
Earnie Boyd
mailto:earnie_boyd AT yahoo DOT com

---         <http://earniesystems.safeshopper.com>         ---
--- Cygwin: POSIX on Windows <http://gw32.freeyellow.com/> ---
---   Minimalist GNU for Windows <http://www.mingw.org/>   ---

__________________________________________________
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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