I searched the archives and found a note from Larry suggesting that I review the 
archives for 12-03-2001.  I did this for all of Nov, Dec, and Jan and did not find at 
least two mentions of the problem as he suggested.

My question is pretty simple:  is editing the /etc/profile the recommended way to get 
my ~/.bashrc file sourced?  And if not, what is.

It should be noted that I found a message by Gary R. Van Sickle suggesting that 
.bash_profile might be a better way to do things, but this doesn't directly answer my 
question.

-rgm

At 12:02 PM 03.26.2002 -0500, you wrote:
>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
>
>>>
>>>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/

Reply via email to