yum install -y bash-* \cp /etc/profile /etc/profile.bak sed -i ‘2a source <(kubectl completion bash)‘ /etc/profile source /etc/profile
[k8s]tab 补全
原文:https://www.cnblogs.com/leoshi/p/13487984.html