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