Skip to content

mildebrandt/fish-kubectl-completions

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/kubectl.fish completions/

Building

This was tested using go 1.11.1 on macOS.

$ go build
$ ./kcfishgen > kubectl.fish

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.

Author

Evan Lucas

License

MIT

About

kubectl completions for fish shell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 93.2%
  • Go 6.8%