From 05a5080b0230e1db13c43d009eac142fdbffbb38 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Tue, 12 May 2020 02:18:27 +0200 Subject: [PATCH] zsh: Fix pipx completion conditional --- home/.zshrc.local | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/.zshrc.local b/home/.zshrc.local index d3a88e8..ad922f2 100644 --- a/home/.zshrc.local +++ b/home/.zshrc.local @@ -233,7 +233,7 @@ bashcompinit command -v hcloud >/dev/null && source <(hcloud completion zsh) ## pipx -command -v pipx >/dev/null && source <(register-python-argcomplete pipx) +command -v pipx >/dev/null && command -v register-python-argcomplete >/dev/null && source <(register-python-argcomplete pipx) ## poetry command -v poetry >/dev/null && ([ -e ~/.zfunc/_poetry ] || poetry completions zsh > ~/.zfunc/_poetry)