refactor(zsh): get rustup & cargo completions from rustup comp

This commit is contained in:
Price Hiller 2023-09-02 16:36:01 -05:00
parent b40b7f3e8b
commit 6ad55021b7
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8
2 changed files with 2 additions and 1196 deletions

View File

@ -1,4 +1,2 @@
#compdef cargo
if command -v rustc >/dev/null 2>&1; then
source "$(rustc --print sysroot)"/share/zsh/site-functions/_cargo
fi
source <(rustup compeltions zsh cargo)

File diff suppressed because it is too large Load Diff