-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Cargo command shorthands don't have bash completion #9086
Labels
Comments
2 tasks
relrelb
changed the title
Cargo command shorthands doesn't have bash completion
Cargo command shorthands don't have bash completion
Oct 1, 2021
bors
added a commit
that referenced
this issue
Oct 1, 2021
Add shell completion for shorthand commands Currently `cargo` has shell completion for most (if not all) builtin commands such as `build`, `run`, `check` etc. However, it doesn't have shell completion for the short forms of these commands, such as `b`, `r`, `c` etc. This PR adds both bash and zsh completions for command shorthands. Fixes #9086.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
Currently cargo has bash completion for most (if not all) builtin commands such as
build
,run
,check
etc.However, it doesn't have bash completion for the short forms of these commands, such as
b
,r
,c
etc.Steps
cargo build <tab>
. Some completions should appear.cargo b <tab>
. This time no completions appear.Possible Solution(s)
I expect the exact same completions to appear also for command shorthands.
The text was updated successfully, but these errors were encountered: