📅  最后修改于: 2022-03-11 14:49:59.085000             🧑  作者: Mango
echo 'source <(kubectl completion zsh)' >>~/.zshrc
# If you want to enable it with an alias
echo 'alias k=kubectl' >>~/.zshrc
echo 'complete -F __start_kubectl k' >>~/.zshrc