Add kubectx and kubens

This commit is contained in:
fanyx 2021-05-26 21:03:04 +02:00
parent b76e6366e7
commit 0082e1bd6b
1 changed files with 4 additions and 0 deletions

4
.alias
View File

@ -20,3 +20,7 @@ alias mkdir="mkdir -p"
# k8s
alias k="kubectl"
complete -F __start_kubectl k
which kubectx kubens >/dev/null && \
alias kx="kubectx" && \
alias kn="kubens"