Merge pull request #34579 from jjinux/patch-1
Fixed a zsh bug in the kubectl cheat sheet
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user