Skip to content

Commit 6668256

Browse files
authored
Merge pull request #43874 from er2/patch-1
Update cheatsheet.md - fish completions
2 parents 6eba975 + aa6e7d8 commit 6668256

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

content/en/docs/reference/kubectl/quick-reference.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,12 @@ echo '[[ $commands[kubectl] ]] && source <(kubectl completion zsh)' >> ~/.zshrc
4545

4646
### FISH
4747

48-
Require kubectl version 1.23 or above.
48+
{{< note >}}
49+
Requires kubectl version 1.23 or above.
50+
{{< /note >}}
4951

5052
```bash
51-
echo 'kubectl completion fish | source' >> ~/.config/fish/config.fish # add kubectl autocompletion permanently to your fish shell
53+
echo 'kubectl completion fish | source' > ~/.config/fish/completions/kubectl.fish && source ~/.config/fish/completions/kubectl.fish
5254
```
5355

5456
### A note on `--all-namespaces`

0 commit comments

Comments
 (0)