-
Notifications
You must be signed in to change notification settings - Fork 111
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
Zsh completion doesn't complete flags after positional arguments #392
Comments
Unlike fish and bash completions, zsh options are completed when specified before the pattern and file arguments. If you know how to get zsh completions to also work after pattern and/or file arguments then let me know. |
I haven't figured it out, but can provide the example of ripgrep's Zsh completion, which seems to achieve the goal. |
Zsh grep completions do a better job and have been around for a long time. Since ugrep is backward compatible to grep, I'll try to work some of the zsh grep completions into ugrep's completions. |
Committed a fix. This update also makes several options repeatable when they are repeatable, such as |
Thank you! |
Completions are updated in release 6.1. |
6.0.0
Given the file
sample.txt
:Each of the following commands will work as expected:
But in none of those cases will the
--only-matching
flag be tab-completed.The text was updated successfully, but these errors were encountered: