zsh: Add rustup/cargo completion
This commit is contained in:
parent
3690ccc6a6
commit
8b676da4ec
|
@ -233,3 +233,6 @@ command -v hcloud >/dev/null && source <(hcloud completion zsh)
|
|||
|
||||
## poetry
|
||||
command -v poetry >/dev/null && ([ -e ~/.zfunc/_poetry ] || poetry completions zsh > ~/.zfunc/_poetry)
|
||||
|
||||
## rustup/cargo
|
||||
command -v rustup >/dev/null && ([ -e ~/.zfunc/_cargo ] || rustup completions zsh cargo > ~/.zfunc/_cargo) && ([ -e ~/.zfunc/_rustup ] || rustup completions zsh rustup> ~/.zfunc/_rustup)
|
||||
|
|
Reference in a new issue