Skip to content

Commit 9dda31f

Browse files
committed
[zh-cn] sync kubectl/cheatsheet.md
Signed-off-by: xin.li <[email protected]>
1 parent 90359a6 commit 9dda31f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

content/zh-cn/docs/reference/kubectl/cheatsheet.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,18 @@ source <(kubectl completion zsh) # 在 zsh 中设置当前 shell 的自动补
7777
echo '[[ $commands[kubectl] ]] && source <(kubectl completion zsh)' >> ~/.zshrc # 在你的 zsh shell 中永久地添加自动补全
7878
```
7979

80+
### FISH
81+
82+
<!--
83+
Require kubectl version 1.23 or above.
84+
-->
85+
86+
需要 kubectl 版本 1.23 或更高版本。
87+
88+
```bash
89+
+echo 'kubectl completion fish | source' >> ~/.config/fish/config.fish # 将 kubectl 自动补全永久添加到你的 Fish shell 中
90+
```
91+
8092
<!--
8193
### A note on `--all-namespaces`
8294
-->

0 commit comments

Comments
 (0)