📅  最后修改于: 2022-03-11 14:51:20.503000             🧑  作者: Mango
source <(kubectl completion bash) # setup autocomplete in bash into the current shell, bash-completion package should be installed first.
echo "source <(kubectl completion bash)" >> ~/.bashrc # add autocomplete permanently to your bash shell.