Update autocomplete instructions for Oh-My-Zsh (#9746)

The explanation to setup auto completion of zsh with Oh-My-Zsh is correct, however the example code is incorrectly mentioned as `source <(kubectl completion zsh)`. This pull request updates it to `plugins=(kubectl)`
pull/9752/head
Shivakumar Thanikachalam 2018-08-03 22:08:14 +05:30 committed by k8s-ci-robot
parent 9c885221cc
commit 3586b9336e
1 changed files with 1 additions and 1 deletions

View File

@ -272,7 +272,7 @@ fi
Or when using [Oh-My-Zsh](http://ohmyz.sh/), edit the ~/.zshrc file and update the `plugins=` line to include the kubectl plugin.
```shell
source <(kubectl completion zsh)
plugins=(kubectl)
```
{{% /capture %}}