-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fuzzy completion broke some wildcard completions #929
Comments
I also experience this problem. |
I think the issue is here, in wildcard.cpp:
We exit out of the loop as soon as we get any matches. But the fuzzy matching means that for example 'foo.jpg' matches "." as a substring match, so we stop there. The fix would be to get rid of the early-out. |
This might have some nasty performance implications if the string is long and there are multiple wildcards. There's also a duplication issue:
|
bash seems to expand wildcards on tab complete. zsh refuses to tab complete in some cases. |
This should be much improved with ee3b355 Thanks for reporting this! |
Great, thanks ! |
Commit 908b075 implementing fuzzy completions broke some wildcard completions.
For example :
ls *.<tab>
Instead of printing all file extensions,
fish_pager
is called with an empty list of possible completions and the only way to quit is to type ctrl+c.The text was updated successfully, but these errors were encountered: