This is the mail archive of the
mailing list for the Cygwin project.
Re: fish Remove unneeded workarounds in /etc/fish/conf.d/cygwin.fish
- From: Andrew Schulman <schulman dot andrew at epa dot gov>
- To: cygwin at cygwin dot com
- Date: Fri, 02 Sep 2016 03:08:59 -0400
- Subject: Re: fish Remove unneeded workarounds in /etc/fish/conf.d/cygwin.fish
- Authentication-results: sourceware.org; auth=none
- References: <CACDsba2MOnZWWe3kqokTie8JqR=fXXCEHan02wu6YHY_RUY5fw@mail.gmail.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)'
> function tm --description "print '(tm)'"
> echo '(tm)'
> function TM --description "print '(TM)'"
> echo '(TM)'
> function x86 --description "print '(x86)'"
> echo '(x86)'
> function X86 --description "print '(X86)'"
> echo '(X86)'
> 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
Thanks for pointing that out. Yep, I checked and they don't seem to be needed
any more. I'll remove them and put out a new point release. Andrew
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple