代码拉取完成,页面将自动刷新
$ mkdir -p ~/.config/fish/completions
$ cd ~/.config/fish
$ git clone https://github.com/evanlucas/fish-kubectl-completions
$ ln -s ../fish-kubectl-completions/completions/kubectl.fish completions/
fisher install evanlucas/fish-kubectl-completions
This was tested using go 1.15.7 on macOS 11.1 "Big Sur".
$ make build
FISH_KUBECTL_COMPLETION_TIMEOUT
This is used to pass the --request-timeout
flag to the kubectl
command.
It defaults to 5s
.
Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.
FISH_KUBECTL_COMPLETION_COMPLETE_CRDS
This can be used to prevent completing CRDs. Some users may have limited access
to resources.
It defaults to 1
. To disable, set to anything other than 1
.
Evan Lucas
MIT
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。