Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: "Lane, Frank L" , 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 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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" To: 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? > > > > 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/