2022-05-27 21:07:07 +02:00
|
|
|
#!/usr/bin/zsh
|
|
|
|
|
|
|
|
# Auto-complete section
|
2022-12-14 11:52:41 +01:00
|
|
|
autoload bashcompinit && bashcompinit
|
2022-06-07 14:47:42 +02:00
|
|
|
command -v flux >/dev/null && . <(flux completion zsh) && complete -F _flux f
|
2023-12-12 08:23:26 +01:00
|
|
|
command -v gh >/dev/null && . <(gh completion -s zsh) && complete -F _gh
|
|
|
|
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
|
2022-12-14 15:44:18 +01:00
|
|
|
command -v kubectl-ctx >/dev/null && complete -W "$(kubectl-ctx)" kubectl-ctx
|
2024-01-22 12:26:18 +01:00
|
|
|
command -v minikube >/dev/null && . <(minikube completion zsh) && complete -F __minikube_convert_bash_to_zsh m
|
2023-12-12 08:23:26 +01:00
|
|
|
command -v velero >/dev/null && . <(velero completion zsh) && complete -F __start_velero v
|