From eef280dd6d1cb0bbb51ef068c0051be9f45ca35f Mon Sep 17 00:00:00 2001 From: gryf Date: Wed, 7 Oct 2020 12:54:51 +0200 Subject: [PATCH] Added bash completion for kubectl --- bootstrap.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/bootstrap.sh b/bootstrap.sh index e5931b9..f40e156 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -215,6 +215,7 @@ common_conf() { echo "alias pods='kubectl get pods -A -o wide'" echo "alias deploys='kubectl get deployments -A -o wide'" echo "source ~/devstack/openrc admin admin >/dev/null 2>/dev/null" + echo "source <(kubectl completion bash)" } >> ~/.bashrc if [ ! -d ~/.vim ]; then