Answers for "oh my zsh kubectl"

1

kubectl completion zsh

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
Posted by: Guest on March-17-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language