delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/02/06/10:12:22

X-Spam-Check-By: sourceware.org
From: ericblake AT comcast DOT net (Eric Blake)
To: jt <jt AT udev DOT org>, cygwin AT cygwin DOT com
Subject: Re: default PATH
Date: Mon, 06 Feb 2006 15:12:09 +0000
Message-Id: <020620061512.1594.43E767490006AAD30000063A22007507840A050E040D0C079D0A@comcast.net>
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

> I upgrade to 1.5.19-4 and my default PATH has changed:
> 
> PATH is "inherited" from my WinXP environment as usual but it is not
> prepend with "/bin" like before the upgrade, and is now appended with
> ".".
> I cannot find where this happen (my .bashrc is unchanged).

Try opening a cmd.com window in c:\cygwin\bin (or whatever
it is named), then running 'bash --login -xv' to see every command
executed by bash during startup.  Maybe that will help you
pinpoint the culprit.

> 
> Also, when I start cygwin (shell in rxvt), it throws me in "/usr/bin"
> (which is a mount of "/bin") instead of my usual "~/".

Sounds like it might be a problem with $HOME, such that
bash does not know where to find your ~/.bashrc.

> 
> I can fix all this by hand in my .bashrc but I want to have a clean
> fix (avoid cygwin to do the bad job at the first place).
> Can someone tell me where to look at?
> 
> Note: the upgrade also updated coreutils, readline and other minor stuff.

Perhaps you also upgraded base-files, and maybe something
in there was the culprit?

Hint: following these directions is a great help to debugging:
> Problem reports:       http://cygwin.com/problems.html

--
Eric Blake
volunteer cygwin bash maintainer

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019