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)`
This commit is contained in:
committed by
k8s-ci-robot
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 %}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user