-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Add auto completion of short options #4956
Conversation
c97c899
to
f029545
Compare
f029545
to
bca2f4e
Compare
Could you add some tests for this? |
@pradyunsg Added tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't use autocompletion myself, but a visual review of the code looks OK to me. I'll leave it to someone else to merge though.
@pradyunsg Are you OK to merge this? |
Yep. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Fixes #4954
P.S. Pip's auto completion is still quite messy regardless, not completing file names (#4842), not recognizing (At least in Zsh) that it shouldn't add a space after
=
for a long option. So Pip's builtin auto completion is not really all that usable currently regardless.