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
parent
9c885221cc
commit
3586b9336e
|
@ -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 %}}
|
||||
|
||||
|
|
Loading…
Reference in New Issue