-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Stop command aliases and flag aliases from being suggested in shell completion #1882
Stop command aliases and flag aliases from being suggested in shell completion #1882
Conversation
d644cdd
to
6e38501
Compare
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.
LGTM.
@Juneezee didnt we say we want a runtime config flag to enable this behavior ? |
Hi @dearchap. From my perspective as an avid user of the terminal and fan of CLI tools, I think shortcuts of commands being hidden during shell completion is more common (and personally, I prefer it this way also). Especially that this is targeting v3 so some small minor changes are OK. I am all for adding a flag to control this behavior. Of course, you are the maintainer and the one to make the call. We could also add an environmental variable that all CLI tools built with So, if |
Yeah that makes sense |
@dearchap Did you want to see the introduction of the |
Merging now is acceptable |
What type of PR is this?
Which issue(s) this PR fixes:
This PR fixes #1875. It is the second try, now targeting v3. The first try, targeting v2, was in #1876.
Release Notes