add kubectl completion

This commit is contained in:
Barak Michener 2019-02-10 20:08:43 -08:00
parent de6ffd9347
commit ad85172df5

5
.zshrc
View file

@ -131,3 +131,8 @@ if [ -f '/home/barak/local/google-cloud-sdk/path.zsh.inc' ]; then source '/home/
# The next line enables shell command completion for gcloud.
if [ -f '/home/barak/local/google-cloud-sdk/completion.zsh.inc' ]; then source '/home/barak/local/google-cloud-sdk/completion.zsh.inc'; fi
# This enables autocomplete for kubectl
if [ $commands[kubectl] ]; then
source <(kubectl completion zsh)
fi