dotfiles/.config/zsh/completion

10 lines
497 B
Plaintext
Raw Normal View History

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-05-27 21:07:07 +02:00
command -v kubectl >/dev/null && . <(kubectl completion zsh) && complete -F __start_kubectl k
command -v velero >/dev/null && . <(velero completion zsh) && complete -F __start_velero v
command -v helm >/dev/null && . <(helm completion zsh) && complete -F _helm h
command -v flux >/dev/null && . <(flux completion zsh) && complete -F _flux f
2022-12-14 15:44:18 +01:00
command -v kubectl-ctx >/dev/null && complete -W "$(kubectl-ctx)" kubectl-ctx