k8s自动补全命令加载到环境变量里

echo "source <(kubectl completion bash)" >> ~/.bashrc

原文地址:https://www.cnblogs.com/supery007/p/12102360.html