dotfiles/.config/zsh/completion

13 lines
766 B
Bash

#!/usr/bin/zsh
# Auto-complete section
autoload bashcompinit && bashcompinit
command -v flux >/dev/null && . <(flux completion zsh) && complete -F _flux f
command -v gh >/dev/null && . <(gh completion -s zsh) && complete -F _gh
command -v g5ncli >/dev/null && . <(g5ncli completion zsh) && complete -F _g5ncli gn
command -v helm >/dev/null && . <(helm completion zsh) && complete -F _helm h
command -v kubectl >/dev/null && . <(kubectl completion zsh) && complete -F __start_kubectl k
command -v kubectl-ctx >/dev/null && complete -W "$(kubectl-ctx)" kubectl-ctx
command -v minikube >/dev/null && . <(minikube completion zsh) && complete -F __minikube_convert_bash_to_zsh m
command -v velero >/dev/null && . <(velero completion zsh) && complete -F __start_velero v