tldr/pages/common/rustup-completions.md

254 B

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}}