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
How to disable custom (i.e. per-command) autocompletion? #7040
Comments
There is no way to turn it off for all commands, but for specific commands you can do I usually insert We should fix the incomplete completions, though! |
I was going to propose the same. If a completion is unhelpful, it should be fixed! The
|
I've been thinking of an enhancement to fish where a second |
How would that go with cycling through completion items by repeatedly pressing I fear that would be a confusing behaviour. Is it such a common problem? I would still vote for fixing unhelpful completions. |
No, it would only kick in when there are no completions due to the -x |
How is this different from what we used to have (fall back to file completion), other than requiring a second tab press? Quite often there just are no sensible completions, so adding files is absolutely unhelpful. |
That would confuse me on second tab. +1 fix the individual annoying completions. |
The zip completions would be better to complete any file name but sort |
Nah, we should just stop the suffix filtering in most cases. It's wrong so often it's not even funny. |
I think suffix... prioritizing is a better way to go. They at least are more likely to be the desired files. |
Anyway, that's a different point. The question has been answered, the systemctl issue was fixed a while ago, the unzip issue is now fixed (with potential refinement). I'm closing the issue. |
…ing suffix first See fish-shell#7040 and others.
…ing suffix first See fish-shell#7040 and others.
…iles with matching suffixes Part of fish-shell#7040
…ing suffix first See #7040 and others.
…iles with matching suffixes Part of #7040
A lot of commands have some custom autocompletion (like stack, systemctl, etc.) where they show the possible commands and such, but to be quite honest, it is very common for them to be somewhat broken, and really just in the way of what I'm trying to do.
I can e.g. not unzip a file where the name does not end in .zip, and often, e.g. for systemctl's autocompletion, an error will happen during it!
So I was wondering if there is any simple way to disable custom autocompletion while still keeping the autocompletion for selecting files (which is very useful).
The text was updated successfully, but these errors were encountered: