diff --git a/completions.zsh b/completions.zsh index 8e398bf9..32b17906 100644 --- a/completions.zsh +++ b/completions.zsh @@ -1,3 +1,3 @@ autoload -U bashcompinit bashcompinit -eval "$(register-python-argcomplete3 pipx)" +type register-python-argcomplete3 > /dev/null && eval "$(register-python-argcomplete3 pipx)"