dotfiles/.config/zsh/completion

9 lines
419 B
Bash

#!/usr/bin/zsh
# Auto-complete section
autoload bashcompinit && bashcompinit
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