mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-02-22 06:21:11 +08:00

By default, cargo provides alias for some commonly used functions. This patch makes it that those alias will complete the same as their full commands. Default alias: b -> build c -> check t -> test r -> run Since cargo allows users to define custom alias it would be nice if oh-my-zsh automatically detected those and preformed completions as such but that would be a much more complex patch.
cargo
This plugin adds completion for the Rust build tool Cargo
.
To use it, add cargo
to the plugins array in your zshrc file:
plugins=(... cargo)
Updated on March 3rd, 2019, from Cargo 0.34.0.