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: | <20030107170352.61252.qmail@web40204.mail.yahoo.com> |
Date: | Tue, 7 Jan 2003 09:03:52 -0800 (PST) |
From: | Tianming Kong <tmkong AT yahoo DOT com> |
Subject: | Re: bash 2.05b-8 doesnot execute .bashrc even if HOME is defined and .bashrc is under both ~/ and / |
To: | Max Bowsher <maxb AT ukf DOT net>, cygwin AT cygwin DOT com |
In-Reply-To: | <016401c2b658$98dfdb60$1767883e@pomello> |
MIME-Version: | 1.0 |
--- Max Bowsher <maxb AT ukf DOT net> wrote: > Original Message From: "Tianming Kong" > <tmkong AT yahoo DOT com> > > I'm using cygwin v1.3.18 under Windows XP > > Professional. Unfortunately bash 2.05b-8 does not > > exectute my startup script ~/.bashrc > > > > I defined environement variable HOME as "d:\" > using > > windows control panel. I also copy my .bashrc file > to > > cygwin / directory. > > Why / ? Bash certainly doesn't look there. I suggest > that you make sure that > HOME in the environment and your home dir in > /etc/passwd are consistent, and > that .bashrc is located in that directory. > > Max. > I remember reading from some previous email, saying that if bash cannot find HOME environment variables from everywhere else (like Windows Environment variables, /etc/profile, /etc/passwd, etc.), then it will try /. I didn't set home dir in /etc/passwd -- actually I didn't set any user entry there. Do you think this caused the problem? Previously when I was using an older version cygwin 1.3.10 and bash 2.05a(3), it worked perfectly fine. -Tim __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- 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 |