zsh: Fix pipx completion conditional
This commit is contained in:
parent
c847281e8e
commit
05a5080b02
|
@ -233,7 +233,7 @@ bashcompinit
|
||||||
command -v hcloud >/dev/null && source <(hcloud completion zsh)
|
command -v hcloud >/dev/null && source <(hcloud completion zsh)
|
||||||
|
|
||||||
## pipx
|
## 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
|
## poetry
|
||||||
command -v poetry >/dev/null && ([ -e ~/.zfunc/_poetry ] || poetry completions zsh > ~/.zfunc/_poetry)
|
command -v poetry >/dev/null && ([ -e ~/.zfunc/_poetry ] || poetry completions zsh > ~/.zfunc/_poetry)
|
||||||
|
|
Reference in a new issue