-
Notifications
You must be signed in to change notification settings - Fork 236
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
[RRFC] Decompose bash
completions
#756
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Motivation ("The Why")
The result of running
npm completion
is a monolithic function for the entirety of thenpm
command. Contrast this withgit
which allows a definition like:How
Current Behaviour
The current
npm completion
only works for the base command.Desired Behaviour
I could define:
And when I double tab after
nr
it would show me the available tasks (the behavior when double tabbing afternpm run
when completions are loaded) rather than listing the files in the current directory.References
git
bash
completionsThe text was updated successfully, but these errors were encountered: