mirror of
https://gitlab.com/dabruh/dotfiles.git
synced 2024-12-25 19:44:17 +01:00
Add completion for kubectl-ctx
This commit is contained in:
parent
9d4bd9c858
commit
b8e2e5568e
2 changed files with 2 additions and 1 deletions
|
@ -15,7 +15,7 @@ alias \
|
|||
|
||||
# Kubernetes things
|
||||
alias \
|
||||
cx="kubectl ctx" \
|
||||
cx="kubectl-ctx" \
|
||||
f='flux' \
|
||||
h='helm' \
|
||||
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 helm >/dev/null && . <(helm completion zsh) && complete -F _helm h
|
||||
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 a new issue