delorie.com/archives/browse.cgi | search |
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: | <00e301c26998$b7777540$28820e44@ri.cox.net> |
From: | "mstucky5" <mstucky5 AT cox DOT net> |
To: | "Lane, Frank L" <frank DOT l DOT lane AT boeing DOT com>, <cygwin AT cygwin DOT com> |
References: | <3B2480653E7D2C4E8AA5699598D691C4230053 AT xch-se-03 DOT se DOT nos DOT boeing DOT com> |
Subject: | Re: How do I get my .bashrc read at startup? |
Date: | Tue, 1 Oct 2002 18:20:14 -0400 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-MIMEOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000 |
If I remember correctly... with older versions of cygwin the file /etc/profile contained the following statement test -f ./.bashrc && . ./.bashrc which would read .bashrc at startup. The above statement has been removed from newer versions. I think that the "proper" way to read .bashrc is to create a ~/.bash_profile with something similar to the following: if [ -f ~/.bashrc ]; then . ~/.bashrc; fi When bash is launched with the "--login -i" options, it looks for the .bash_profile file. --Mark ----- Original Message ----- From: "Lane, Frank L" <frank DOT l DOT lane AT boeing DOT com> To: <cygwin AT cygwin DOT com> Sent: Tuesday, October 01, 2002 11:53 AM Subject: How do I get my .bashrc read at startup? > Thanks to Randall for the bash(ing)!:-) > > How do I get my .bashrc read at startup? > > <snip> > > Thanks, > Frank > > -- > 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |