Skip to content
Permalink
Browse files

chore(kubectl): Formatting markdown (#17697)

Amending the formatting of the MD as ```shell was showing up in plain text. Zsh options: "https://kubernetes.io/docs/tasks/tools/install-kubectl/#enabling-shell-autocompletion"
  • Loading branch information
tde908 authored and k8s-ci-robot committed Nov 21, 2019
1 parent 9f8d00f commit 3398b6f69d102e1d2e7e43259d961654cc47c931
Showing with 4 additions and 4 deletions.
  1. +4 −4 content/en/docs/tasks/tools/install-kubectl.md
@@ -447,10 +447,10 @@ source <(kubectl completion zsh)

If you have an alias for kubectl, you can extend shell completion to work with that alias:

```shell
echo 'alias k=kubectl' >>~/.zshrc
echo 'complete -F __start_kubectl k' >>~/.zshrc
```
```shell
echo 'alias k=kubectl' >>~/.zshrc
echo 'complete -F __start_kubectl k' >>~/.zshrc
```

After reloading your shell, kubectl autocompletion should be working.

0 comments on commit 3398b6f

Please sign in to comment.
You can’t perform that action at this time.