Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evanlucas/fish-kubectl-completions
kubectl completions for fish shell
https://github.com/evanlucas/fish-kubectl-completions
completions fish-shell kubectl kubernetes
Last synced: 3 days ago
JSON representation
kubectl completions for fish shell
- Host: GitHub
- URL: https://github.com/evanlucas/fish-kubectl-completions
- Owner: evanlucas
- License: mit
- Created: 2017-04-04T13:09:58.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2021-11-30T20:51:31.000Z (about 3 years ago)
- Last Synced: 2024-12-22T11:08:31.618Z (10 days ago)
- Topics: completions, fish-shell, kubectl, kubernetes
- Language: Shell
- Homepage:
- Size: 18.2 MB
- Stars: 576
- Watchers: 10
- Forks: 42
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kubectl completion for fish shell
## Install
```fish
$ 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](https://github.com/jorgebucaran/fisher)
`fisher install evanlucas/fish-kubectl-completions`
## Building
This was tested using go 1.15.7 on macOS 11.1 "Big Sur".
```console
$ 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