This is the mail archive of the
mailing list for the Cygwin project.
Re: fish PATH problem
- From: Andrew Schulman <schulman dot andrew at epa dot gov>
- To: cygwin at cygwin dot com
- Date: Thu, 09 Oct 2014 12:44:05 -0400
- Subject: Re: fish PATH problem
- Authentication-results: sourceware.org; auth=none
- References: <8du93aldjf5p3r29dcibokhu4dgps0lv21 at 4ax dot com> <gk2a3aduk0idoqs1g1qjv3ij12gin3867p at 4ax dot com> <54350D2B dot 3050103 at gmail dot com> <BLU436-SMTP1501DF73E10EF914FF5A637E4A30 at phx dot gbl> <54365F3B dot 9010303 at gmail dot com> <h43d3ap1d2s3d2hdms89160k19kr20vaiv at 4ax dot com> <988061198 dot 20141009192356 at yandex dot ru>
> Greetings, Andrew Schulman!
> >> Andrew: appreciated if you can confirm whether simply invoking as a
> >> login shell works for you.
> > It sort of works. When I change my shell to /usr/bin/fish in /etc/passwd
> > and run
> > C:\cygwin64\bin\mintty.exe -
> > I don't get any error messages, as I first reported. But the environment
> > isn't set up correctly. The main problem seems to be that although I'm
> > running 64-bit cygwin, the directory for 32-bit cygwin is mounted as the
> > root filesystem:
> > ~> cygpath -w /
> > C:\cygwin
> > By comparison when I start fish from bash, I get:
> > aschulma@LC77E1AASCHULMA ~> cygpath -w /
> > C:\cygwin64
> > This is a pretty serious problem. Any thoughts on why it happens?
> Initial %PATH% problem?
Andrey, good catch. My system %PATH% did indeed include C:\cygwin\bin.
So I removed that, and restarted fish. Good news: the system mount points
are right again - they point into C:\Cygwin64, not C:\Cygwin. That's a
Bad news: the PATH problem is back. When I run
I get the same error messages as before on startup, and PATH doesn't
include /bin /usr/bin /sbin /usr/sbin.
How are /bin /usr/bin etc. normally added to the PATH? I don't see any
logic to do it in /usr/share/fish/config.fish.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple