We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 635cae7 + 92fbd57 commit 8ec7897Copy full SHA for 8ec7897
content/en/docs/reference/kubectl/cheatsheet.md
@@ -42,6 +42,15 @@ complete -o default -F __start_kubectl k
42
source <(kubectl completion zsh) # set up autocomplete in zsh into the current shell
43
echo '[[ $commands[kubectl] ]] && source <(kubectl completion zsh)' >> ~/.zshrc # add autocomplete permanently to your zsh shell
44
```
45
+
46
+### FISH
47
48
+Require kubectl version 1.23 or above.
49
50
+```bash
51
+echo 'kubectl completion fish | source' >> ~/.config/fish/config.fish # add kubectl autocompletion permanently to your fish shell
52
+```
53
54
### A note on `--all-namespaces`
55
56
Appending `--all-namespaces` happens frequently enough that you should be aware of the shorthand for `--all-namespaces`:
0 commit comments