X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=hSqDthEvbXzqka8eNyP1FBeDz0YTHxvja0lBpksWdMKsc4YbeFgQG qDsJLqTvlSMhbP3AyYwCV0EisaWxEbWA2Ub4DUq0Ycr0ibUxXYWuuUGjoVaPxo4v TLpUilGnPW8Q/VUHEsdjSlD9db7Vt1XJ+I8ET7PVD3ay+LoxteCZVY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; s=default; bh=D3V/PdGKlTdj1PdkAqd/dTQzuX4=; b=xyDtup4ZLWbkifa1FgJHKk3XYVTE alqGnybrZyIPC9Xx4JQg29P2uR/1GUCO7gwk6cXvmc/7VAwWECBqA/sASHo8QEsr 6NXem4UVO4sr+EQoVF85UOa68DyzHvsewlkT6igwDcPuRkUZqLEP3A69Dt5VyeA1 +X0JGEwiQC9xzUg= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: plane.gmane.org To: cygwin AT cygwin DOT com From: Andrew Schulman Subject: Re: fish PATH problem Date: Thu, 09 Oct 2014 12:44:05 -0400 Lines: 44 Message-ID: References: <8du93aldjf5p3r29dcibokhu4dgps0lv21 AT 4ax DOT com> <54350D2B DOT 3050103 AT gmail DOT com> <54365F3B DOT 9010303 AT gmail DOT com> <988061198 DOT 20141009192356 AT yandex DOT ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive: encrypt X-IsSubscribed: yes > 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 AT 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 relief! Bad news: the PATH problem is back. When I run C:\cygwin64\bin\fish.exe -l 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. Andrew -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple