delorie.com/archives/browse.cgi | search |
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=AAGUYu8xvDBr+Y4pwE89Q4ErT4cwdW6DGK3WkTnUxcUKFG/GYWArI | |
K/WLsZG7k69jypdrlvtxORn8o/w41NkSWACt7nx/vB9NaepYxC9vlWTWIZCMm6km | |
VAPmt52kv59FKndJCuZ6X9Zxe+zvxlzITPafQZ+dNph56sxRsHBGc8= | |
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=qleToHWHUngCX/Es2JK0JTpbBis=; b=UVejpI4XymsC8GhMwp/E71YGBOX6 | |
KgJl/+RhS3FZ9CeKx161UflXUWTmUK+jHbWXrlK7LzP4pv0qRaM2qtAbPwoh3KYc | |
jyjX5KcrDNlXeEAZvLsmy5aB4+JjLEHIOcelgmyVcPvK42fXw2NutFxAXjuKP29g | |
2wqgc6Yr60MFGVs= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
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 |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 |
X-HELO: | plane.gmane.org |
To: | cygwin AT cygwin DOT com |
From: | Andrew Schulman <schulman DOT andrew AT epa DOT gov> |
Subject: | Re: fish PATH problem |
Date: | Fri, 10 Oct 2014 09:46:11 -0400 |
Lines: | 49 |
Message-ID: | <vijf3adncvnnu3b0dh9h8qbjk4i58p0b8d@4ax.com> |
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> <o0ed3ad7127d18huch47u43eohod98hsu9 AT 4ax DOT com> <1938036834 DOT 20141009212648 AT yandex DOT ru> <54370457 DOT 8060905 AT gmail DOT com> |
Mime-Version: | 1.0 |
X-Archive: | encrypt |
X-IsSubscribed: | yes |
> On 09/10/2014 18:26, Andrey Repin wrote: > > Greetings, Andrew Schulman! > > > >> 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. > > That logic probably should be included. > > At least, bash does that in login files. > > > > That was my conclusion as well*. Question is, should fish provide the > configuration, or should base-files cover all shells? > > Andrew: thanks for confirming. If you're still looking for the logic and > where to put it, I suggested something in * as well. OK, I rolled a new release of fish 2.1.1: x86: http://home.comcast.net/~andrex2/cygwin/x86/fish-2.1.1-1.tar.xz http://home.comcast.net/~andrex2/cygwin/x86/fish-2.1.1-1-src.tar.xz x86_64: http://home.comcast.net/~andrex2/cygwin/x86_64/fish-2.1.1-1.tar.xz http://home.comcast.net/~andrex2/cygwin/x86_64/fish-2.1.1-1-src.tar.xz It adds the following improvements in /etc/fish/config.fish: * Prepends /usr/local/bin /bin to PATH. This solves the PATH errors for me. * Changes to the home directory in login shells. * sources all scripts /etc/profile.d/*.fish. So far I think there are few or none of those, but once fish supports them, some will start to appear, especially if we can get cygport to start creating them. I think that's the best answer to your question about base-files. I looked in /etc/profile to see if it might be made to support fish too, but I don't think so. It's too sh-centric. fish's syntax is too different. So if fish supports /etc/profile.d on its own, then we can just leave it at that. Please try it out, and let me know how it works for you. If it's okay and if Konrad doesn't answer, then I'll adopt the package and put out the new release. I've switched to using fish as my default shell now, so I want to see it maintained. 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |