X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Thorsten Kampe Subject: Re: .bashrc Date: Mon, 29 Jun 2009 14:52:09 +0200 Lines: 15 Message-ID: References: <4A48571D DOT 1020902 AT tlinx DOT org> <416096c60906290143o4f101c20k27f76a93783da0e8 AT mail DOT gmail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit User-Agent: MicroPlanet-Gravity/2.80.1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 * Andy Koppe (Mon, 29 Jun 2009 09:43:44 +0100) > 2009/6/29 Dave Tang: > > So I've changed my home directory to /home/d.tang in my passwd file. I > > copied the .bashrc into my new home directory. > > > > But when I restart cygwin, it still doesn't load the .bashrc. > > Bash on Cygwin is normally invoked as a login shell, in which case it > doesn't source .bashrc. Instead, it sources .bash_profile or .profile, > so unless you explicitly source .bashrc from there, it won't be > processed. Excellent point. The default .bash_profile takes care of that. Thorsten -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple