snippetbashTip
rustup completions — Generate shell completions for `rustup` and `cargo`. More information: <https://rust-lang.github.io/
Viewed 0 times
shellcommandrustup completionsclirustupcompletionsforgenerate
Problem
How to use the
rustup completions command: Generate shell completions for rustup and cargo. More information: <https://rust-lang.github.io/rustup/>.Solution
rustup completions — Generate shell completions for rustup and cargo. More information: <https://rust-lang.github.io/rustup/>.Print the completion script to
stdout:rustup completions {{bash|elvish|fish|powershell|zsh}} {{rustup|cargo}}Code Snippets
Print the completion script to `stdout`
rustup completions {{bash|elvish|fish|powershell|zsh}} {{rustup|cargo}}Context
tldr-pages: common/rustup completions
Revisions (0)
No revisions yet.