Kubectl 使用環境設置 2021-09-17 Auto Complete 附加至 .bashrc echo "" >> ~/.bashrc echo "# add autocomplete permanently to your bash shell." >> ~/.bashrc echo "source <(kubectl completion bash)" >> ~/.bashrc 別名 echo "" >> ~/.bashrc echo "alias k=kubectl" >> ~/.bashrc echo "complete -F __start_kubectl k" >> ~/.bashrc kubectl Cheat Sheet