mirror of https://gitlab.com/dabruh/dotfiles.git
Add completion for kubectl-ctx
This commit is contained in:
parent
9d4bd9c858
commit
b8e2e5568e
|
@ -15,7 +15,7 @@ alias \
|
||||||
|
|
||||||
# Kubernetes things
|
# Kubernetes things
|
||||||
alias \
|
alias \
|
||||||
cx="kubectl ctx" \
|
cx="kubectl-ctx" \
|
||||||
f='flux' \
|
f='flux' \
|
||||||
h='helm' \
|
h='helm' \
|
||||||
k='kubectl' \
|
k='kubectl' \
|
||||||
|
|
|
@ -6,3 +6,4 @@ command -v kubectl >/dev/null && . <(kubectl completion zsh) && complete -F __st
|
||||||
command -v velero >/dev/null && . <(velero completion zsh) && complete -F __start_velero v
|
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 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 kubectl-ctx >/dev/null && complete -W "$(kubectl-ctx)" kubectl-ctx
|
||||||
|
|
Loading…
Reference in New Issue