From 3586b9336e649a658cba95aea6310080ee2779a6 Mon Sep 17 00:00:00 2001 From: Shivakumar Thanikachalam <277487+cx0der@users.noreply.github.com> Date: Fri, 3 Aug 2018 22:08:14 +0530 Subject: [PATCH] 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)` --- content/en/docs/tasks/tools/install-kubectl.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/tasks/tools/install-kubectl.md b/content/en/docs/tasks/tools/install-kubectl.md index 1b414aada7..309e91c98a 100644 --- a/content/en/docs/tasks/tools/install-kubectl.md +++ b/content/en/docs/tasks/tools/install-kubectl.md @@ -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 %}}