delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/09/01/19:14:01

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:mime-version:from:date:message-id:subject:to
:content-type; q=dns; s=default; b=Tj7ZlbD5g+IwSwmzz5ztceLtHxXos
GfewT+JMuc4hQPpwgh/fs4Y87Vt+HecIPVNgOSvCf7gTZZfxx3NRP0kqZWPqMZhw
jeUPR9dAPL5EQkTDGNHde0N2i88ASCYsSyEWgUPDFdTRz8b2auMRg2DZFN9L5Y+P
1kfErurLCAo46M=
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:mime-version:from:date:message-id:subject:to
:content-type; s=default; bh=TSlFRxQf7lVlu3Mjao55EnHKtUA=; b=mCJ
jhN+MVOZuvGkey3IIU+XswDCXt7y7ZgKZgPqJqDu6BNexZ3khjX/+VTZWhidA+9Z
N/9EubTdVkOyYoq7I5AYycggxSfvXmHGbF6Egk/4PCnC/eqOPcjh0BcejuvhvUaf
/frt8PQiJw7U8gFVSqI6a5nVq9K5U6gog6mzsEPc=
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=-1.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=fish, unneeded
X-HELO: mail-ua0-f173.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=3ypZ3Al2f6lJGt70AVCsPEtJzwBQkK1lEhTRJHBTY9g=; b=VrrcvDXpsqh9gqdMYjYqQ2pMJ2T9E8MfGh6H+9PVukNCd1Jcwi6PgRUlKVP75I++S4 PSTOCcYky/uaDYuAvHeNfYFMm9r+y4Y9k/Qk+ulgXxBADdY3rgkT9KGETGh28trfOzzn IaLb8ocNQJvP9xePV7hLYEZGoi8Rllbxr3EV2sNXJVVAqyaOV4GO7IiScRGJGsgIWa39 frIsiRsxC9we/15zzQdoVpqIxEXFt5nuIoekkzJYfCZDPwzuokIxXLLXjVhntX4rasrJ ExmFs0VhKbRIHmu8NASUCTxFMq3ovYbw2aXif6XAcHen5IErzUW2GyOd2YxNJ7tX8gyG pjZA==
X-Gm-Message-State: AE9vXwO9WN+jRjisacmrhJobrj1RWkrGE1qhCnUEHkAd69ssl+/JFK3XmiX98Q+aIrq5CVDv5R+UZStYLyERKQ==
X-Received: by 10.176.80.171 with SMTP id c40mr7913365uaa.148.1472771612984; Thu, 01 Sep 2016 16:13:32 -0700 (PDT)
MIME-Version: 1.0
From: Whek rin <whekrin AT gmail DOT com>
Date: Fri, 2 Sep 2016 00:13:32 +0100
Message-ID: <CACDsba2MOnZWWe3kqokTie8JqR=fXXCEHan02wu6YHY_RUY5fw@mail.gmail.com>
Subject: fish Remove unneeded workarounds in /etc/fish/conf.d/cygwin.fish
To: cygwin AT cygwin DOT com

The cygwin-specific file /etc/fish/config.d/cygwin.fish has this section:

# Work around an autocompletion bug, where fish tries to execute strings
# in parentheses in the PATH.  For example it tries to run the x86 function
# if it sees a PATH component like '/cygdrive/c/Program Files (x86)'.
# See https://github.com/fish-shell/fish-shell/issues/952#issuecomment-27499216
.
# Work around the most common cases here.

function R --description "print '(R)'"
echo '(R)'
end
function tm --description "print '(tm)'"
echo '(tm)'
end
function TM --description "print '(TM)'"
echo '(TM)'
end
function x86 --description "print '(x86)'"
echo '(x86)'
end
function X86 --description "print '(X86)'"
echo '(X86)'
end

This was to work around fish bug
https://github.com/fish-shell/fish-shell/issues/952. However, this bug
was fixed in version 2.3.0. I tested this quickly by removing the
workaround and fish seemed to complete paths swimmingly (heh).

I suggest this section is removed from fish-2.3.1 as these workarounds
are no longer needed.
Thanks, Matt

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019