Skip to content

awinecki/fish-kubecolor-completions

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kubecolor completion for fish shell

Install

$ mkdir -p ~/.config/fish/completions
$ cd ~/.config/fish
$ git clone https://github.com/awinecki/fish-kubecolor-completions
$ ln -s ../fish-kubecolor-completions/completions/kubecolor.fish completions/

Install using Fisher

fisher install awinecki/fish-kubecolor-completions

Building

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

$ make build

Environment Variables

FISH_KUBECOLOR_COMPLETION_TIMEOUT

This is used to pass the --request-timeout flag to the kubecolor 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_KUBECOLOR_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

Forked by: Andrzej Winecki

Original credit goes to Evan Lucas (https://github.com/evanlucas/fish-kubectl-completions).

License

MIT

About

kubectl completions for fish shell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 92.5%
  • Go 7.4%
  • Makefile 0.1%