The completions are taken from the following gist
https://gist.github.com/terlar/28e1c2e4ac9a27be7a5950306bf45ab2#file-kubectl-fish
I created the repository to be able to manage this as a fundle package.
Add
fundle plugin 'tuvistavie/fish-kubectl'
to your config.fish
, reload your shell and run fundle install
.
Add kubectl.fish
to ~/.config/fish/completions