summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.bash_profile4
1 files changed, 4 insertions, 0 deletions
diff --git a/.bash_profile b/.bash_profile
index b24e0f4..df5ab87 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -44,6 +44,10 @@ alias skipci='git commit --allow-empty -m "--skip-ci"'
alias rgpg='pkill pinentry-tty; gpg-connect-agent updatestartuptty /bye'
alias k='kubectl'
complete -F __start_kubectl k
+alias ktx='kubectx'
+complete -F _kube_contexts ktx
+alias kns='kubens'
+complete -F _kube_namespaces kns
# alias g='git'
# # look up the original completion command and replace the last with the alias