refactor(zsh): get rustup & cargo completions from rustup comp
This commit is contained in:
parent
b40b7f3e8b
commit
6ad55021b7
@ -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
Loading…
Reference in New Issue
Block a user