Skip to content

Commit

Permalink
Merge pull request #34579 from jjinux/patch-1
Browse files Browse the repository at this point in the history
Fixed a zsh bug in the kubectl cheat sheet
  • Loading branch information
k8s-ci-robot authored Jun 27, 2022
2 parents b24d710 + 5aa48c4 commit 23c8bf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/en/docs/reference/kubectl/cheatsheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ complete -o default -F __start_kubectl k

```bash
source <(kubectl completion zsh) # setup autocomplete in zsh into the current shell
echo "[[ $commands[kubectl] ]] && source <(kubectl completion zsh)" >> ~/.zshrc # add autocomplete permanently to your zsh shell
echo '[[ $commands[kubectl] ]] && source <(kubectl completion zsh)' >> ~/.zshrc # add autocomplete permanently to your zsh shell
```
### A Note on --all-namespaces

Expand Down

0 comments on commit 23c8bf7

Please sign in to comment.