if [[ $(command -v rustup) ]]; then if [[ ( $ZNAP_USED = 1) ]]; then znap compdef _rustup 'rustup completions zsh' znap compdef _cargo 'rustup completions zsh cargo' fi fi