This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: default PATH


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]