mirror of https://gitlab.com/dabruh/dotfiles.git
11 lines
570 B
Bash
11 lines
570 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 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 velero >/dev/null && . <(velero completion zsh) && complete -F __start_velero v
|