1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-30 17:50:07 +00:00
ohmyzsh/plugins/cargo
Ben Goldberg 4e8ffe88d4
fix(cargo): complete flags for default cargo aliases (#9692)
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.
2021-05-03 16:59:45 +02:00
..
_cargo fix(cargo): complete flags for default cargo aliases (#9692) 2021-05-03 16:59:45 +02:00
README.md Update README 2019-03-25 22:42:38 +01:00

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.