Fish Kubectl Completions Save

kubectl completions for fish shell

Project README

kubectl completion for fish shell

Install

$ 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/

Install using Fisher

fisher install evanlucas/fish-kubectl-completions

Building

This was tested using go 1.15.7 on macOS 11.1 "Big Sur".

$ make build

Environment Variables

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.

Author

Evan Lucas

License

MIT

Open Source Agenda is not affiliated with "Fish Kubectl Completions" Project. README Source: evanlucas/fish-kubectl-completions
Stars
574
Open Issues
10
Last Commit
2 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating