* fish Remove unneeded workarounds in /etc/fish/conf.d/cygwin.fish
@ 2016-09-01 23:13 Whek rin
2016-09-02 7:09 ` Andrew Schulman
0 siblings, 1 reply; 2+ messages in thread
From: Whek rin @ 2016-09-01 23:13 UTC (permalink / raw)
To: cygwin
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-09-02 7:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-01 23:13 fish Remove unneeded workarounds in /etc/fish/conf.d/cygwin.fish Whek rin
2016-09-02 7:09 ` Andrew Schulman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).