Check if hcloud exists before sourcing completion

This commit is contained in:
Simon Bruder 2019-12-29 14:31:09 +00:00
parent 521b293653
commit 849bba82e6
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -224,4 +224,4 @@ function lecicon() (
# Completion
## hcloud
source <(hcloud completion zsh)
command -v hcloud >/dev/null && source <(hcloud completion zsh)