dotfiles/.config/zsh/completion

11 lines
570 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
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
2023-12-12 08:23:26 +01:00
command -v velero >/dev/null && . <(velero completion zsh) && complete -F __start_velero v