From c07ca15f465628e513e7b540752f6248a4e1d519 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Mon, 21 Mar 2022 18:36:06 +0100 Subject: Update aliases for k8s tools used --- .bash_profile | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3