delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/26/12:03:29

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: <3CA0A9BE.10707@cportcorp.com>
Date: Tue, 26 Mar 2002 12:02:54 -0500
From: Peter Buckley <peter DOT buckley AT cportcorp DOT com>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2
X-Accept-Language: en-us
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: .bashrc not getting sourced?
References: <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20020326084459 DOT 00acc6b8 AT pop3 DOT cris DOT com>

IIRC, if you check the archives, you should find that the behavior of 
sourcing the .bashrc file in /etc/profile was discontinued in later 
cygwin releases. The fact that you have it from over a year ago is 
probably because the cygwin install does not overwrite files that have 
been modified or exist previously.

HTH,
Peter

Randall R Schulz wrote:

> Roland,
> 
> My /etc/profile contains exactly the line you quote. It is the last line 
> of that file, immediately following a "cd $HOME" command. This file 
> bears the modification date May 10, 2001. It may be a coincidence, but 
> that's right when I installed Cygwin for the first time on what was then 
> a new, "clean" Windows 2000 Professional installation on this disk.
> 
> Randall Schulz
> Mountain View, CA USA
> 
> 
> At 08:37 2002-03-26, Roland Glenn McIntosh wrote:
> 
>> I just did a recent brand new install yesterday and I noticed that 
>> /etc/profile no longer contains a line like:
>>
>>         test -f ./.bashrc && . ./.bashrc
>>
>> It took me a second to figure out why .bashrc wasn't getting read (I 
>> thought it happened automatically by the shell) until I compared it to 
>> an older "working" cygwin install.
>>
>> Is there a specific reason for that missing line in /etc/profile, or 
>> could it have been an oversight?  I did notice that my redhat 7 
>> system's /etc/profile doesn't seem to include such a line.
>> -rgm
> 
> 
> 
> -- 
> 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/
> 



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

- Raw text -


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