Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
fish incorrectly completes after escaped space character #2447
Enter the following:
Then hit tab, fish offers completions for the currently directory:
I've investigated this a bit and found there's two issues at play here:
Now, this is undoubtedly useful in many cases, and it's quite clean - it accepts a commandline, so you can just hand it a commandline (or part of one) and it'll do the right thing. Well, except it won't since
This part is worked around easy enough - just use
However, there's a second part here, and it's one I've mentioned in a previous issue (though I can't find the bugger):
This is probably better explained via example:
If I make it output the normal string (i.e.
If one manages to trigger the completion menu (because there's more than one choice), one can pick both and they correctly replace the commandline.
As I've said before - completion before the space works.
@ridiculousfish: Mind taking a look? I think I've narrowed it down a bit.
We've only got a handful of issues blocking the 2.3.0 release milestone. This issue isn't one that should block a new minor release so I'm retargeting this to next-2.x so we can focus our efforts on fixing the issues that should be fixed for the 2.3.0 release.