mirror of https://gitlab.com/dabruh/dotfiles.git
Add GitHub CLI completion
This commit is contained in:
parent
97a5065b89
commit
b49aa0be3d
|
@ -2,8 +2,9 @@
|
||||||
|
|
||||||
# Auto-complete section
|
# Auto-complete section
|
||||||
autoload bashcompinit && bashcompinit
|
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
|
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 kubectl-ctx >/dev/null && complete -W "$(kubectl-ctx)" kubectl-ctx
|
||||||
|
command -v velero >/dev/null && . <(velero completion zsh) && complete -F __start_velero v
|
||||||
|
|
Loading…
Reference in New Issue