www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
In-Reply-To: | <op.uv9zb6c68cr96e@imb09-02635.imbpc.ad> |
References: | <op DOT uv9tlrmx8cr96e AT imb09-02635 DOT imbpc DOT ad> <4A48571D DOT 1020902 AT tlinx DOT org> <op DOT uv9vxeqh8cr96e AT imb09-02635 DOT imbpc DOT ad> <h29obr$l5r$1 AT ger DOT gmane DOT org> <op DOT uv9x9cje8cr96e AT imb09-02635 DOT imbpc DOT ad> <h29q23$q6d$1 AT ger DOT gmane DOT org> <op DOT uv9zb6c68cr96e AT imb09-02635 DOT imbpc DOT ad> |
Date: | Mon, 29 Jun 2009 09:43:44 +0100 |
Message-ID: | <416096c60906290143o4f101c20k27f76a93783da0e8@mail.gmail.com> |
Subject: | Re: .bashrc |
From: | Andy Koppe <andy DOT koppe AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
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. See here for the full story: http://www.gnu.org/software/bash/manual/bashref.html#Bash-Startup-Files Andy -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |