Merge pull request #32012 from bwolmarans/patch-1
--all-namespaces shorthand
This commit is contained in:
@@ -39,6 +39,11 @@ complete -F __start_kubectl k
|
||||
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
|
||||
```
|
||||
### A Note on --all-namespaces
|
||||
|
||||
Appending `--all-namespaces` happens frequently enough where you should be aware of the shorthand for `--all-namespaces`:
|
||||
|
||||
```kubectl -A```
|
||||
|
||||
## Kubectl context and configuration
|
||||
|
||||
|
||||
Reference in New Issue
Block a user