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:message-id:date:from:mime-version:to:cc | |
:subject:references:in-reply-to:content-type | |
:content-transfer-encoding; q=dns; s=default; b=WRX2YM/ZUMyn6YOv | |
kzpoTh7up7vA4zQ0wdyc74H9AklYcTe09DFLPKyktQsDIkD071jgjydTLheBDcN9 | |
JdS75Ft8shU6fRw6ZTRaP9H0T5ZeJnTWj69zULM7D5J8gxUoJxUYJxQrJ8DGsnag | |
rysBo6mAaZwl4aC82AC/AKf/Qlw= | |
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:message-id:date:from:mime-version:to:cc | |
:subject:references:in-reply-to:content-type | |
:content-transfer-encoding; s=default; bh=mWx69zZIoFE+IucbmEAgmb | |
EbWS4=; b=aGX7iRg/j/o1cQqfT7MAOUYTGAVnPEiJXYVTvoVODIpnyQgsw4bdtp | |
2fC1dMgC4/yfdMsqY/RLdTNKg+eq0A1P+byS/Zh4V3KUJFFbQn4wPy1ajJT64a4F | |
5yZ/x1Gzx8r6Lx4lTF0Q2O7LgC/OZF+OszwB4/WPL9fZ6ObvA90mo= | |
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.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 |
X-HELO: | mail-wi0-f180.google.com |
X-Received: | by 10.194.174.100 with SMTP id br4mr28717wjc.83.1397168873540; Thu, 10 Apr 2014 15:27:53 -0700 (PDT) |
Message-ID: | <53471AE5.5040801@gmail.com> |
Date: | Thu, 10 Apr 2014 23:27:49 +0100 |
From: | Dave Kilroy <kilroyd AT googlemail DOT com> |
User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 |
MIME-Version: | 1.0 |
To: | Ronald Fischer <ynnor AT mm DOT st>, cygwin AT cygwin DOT com |
CC: | glitchmr AT myopera DOT com |
Subject: | Re: Possible bug with chere 1.4 when configuring for fish |
References: | <534452B8 DOT 2030909 AT gmail DOT com> <1397124355 DOT 23022 DOT 284E4ADE AT webmail DOT messagingengine DOT com> |
In-Reply-To: | <1397124355.23022.284E4ADE@webmail.messagingengine.com> |
On 10/04/2014 11:06, Ronald Fischer wrote: >> I've had more time to look around. If you add the following to the file >> ~/.config/fish/config.fish (create it if you haven't already got one), >> then things should work as intended: >> >> if status --is-login >> set PATH /usr/local/bin /usr/bin $PATH >> end >> >> Alternatively drop it in the fish global startup file, >> /usr/share/fish/config.fish. > I tried the variant of putting it into the global startup file, it > doesn't resolve the problem for me. I'll play around a bit with it as > soon as I have time (I'm a first-time user of fish and am busy with > other things right now, so this might take some time). > You're right, when using the default -2. If you switch to -1, things get better, but then the chere functionality of cd'ing to a directory fails. Fun. -2 mode fails because fish recognizes a login shell by $0 being exactly "-fish", but chere is using "-/bin/fish". There's a trivial patch* to fish.cpp which could make this work better for us. -1 mode fails because fish would prefer cygpath was run on the argument first. I'm not sure why this works in bash. I'll try put together a fix for the latter issue, but it may be a while before I can upload*. Konrad, are you able to chase the former issue? NB Konrad's email provider is out of action. Ronald, your choices as the moment: - Add cygwin\bin to your windows path - Use the above snippet without the check for a login shell, and method -2. If you don't start too many subshells you're probably OK. If you do need subshells, you could change the check to test if /bin is already in the path. Dave. * New employer, need to clarify status of open source contributions etc. -- 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 |