www.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://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 |
Message-ID: | <42643B9F.2407BBD@dessent.net> |
Date: | Mon, 18 Apr 2005 15:58:39 -0700 |
From: | Brian Dessent <brian AT dessent DOT net> |
Organization: | My own little world... |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: why $HOME/.bashrc is not picked up? |
References: | <BAY10-F10ED5580512977CE551E1E9290 AT phx DOT gbl> |
X-IsSubscribed: | yes |
Reply-To: | cygwin AT cygwin DOT com |
lin q wrote: > I can not see "hahaha" when I run cygwin.bat to open a new cygwin window. > > I am sure HOME is set as I add the following line to cygwin.bat, > > echo %HOME% > > and I see the correct path. > > Then I wonder why else might be wrong here? ~/.bashrc is not read for interactive login shells. "man bash", section "INVOCATION". The typical thing to do if you want .bashrc to be read for both login and non-login shells is to place something like "[ -f ~/.bashrc ] && . ~/.bashrc" in ~/.bash_profile. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |