summaryrefslogtreecommitdiffstats
path: root/.bash_profile
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2022-03-21 18:36:06 +0100
committerAhmed Abdelhalim <[email protected]>2022-03-21 18:36:06 +0100
commitc07ca15f465628e513e7b540752f6248a4e1d519 (patch)
tree23d1f35455b5d35fc7a26e587bb45c55620d74c5 /.bash_profile
parent0453519c8349f583816316b0dd2c9a9b630ce546 (diff)
Update aliases for k8s tools used
Diffstat (limited to '.bash_profile')
-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