You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
In bash, type cargo build <tab>. Some completions should appear.
Now type 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:
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.
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: