Add fish completions for kind

Closes #61189.

Signed-off-by: Sean Molenaar <1484494+SMillerDev@users.noreply.github.com>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
master
Bruce Thelen 2020-09-15 18:56:57 -05:00 committed by BrewTestBot
parent 9358bb9984
commit ed8bf38903
1 changed files with 4 additions and 0 deletions

View File

@ -26,6 +26,10 @@ class Kind < Formula
# Install zsh completion
output = Utils.safe_popen_read("#{bin}/kind", "completion", "zsh")
(zsh_completion/"_kind").write output
# Install fish completion
output = Utils.safe_popen_read("#{bin}/kind", "completion", "fish")
(fish_completion/"kind.fish").write output
end
test do