kind: update completion

This commit is contained in:
zowoq 2020-04-26 13:16:54 +10:00
parent fb5cf24d7b
commit 454f8ef82a

View File

@ -19,9 +19,10 @@ buildGoPackage rec {
nativeBuildInputs = [ installShellFiles ];
postInstall = ''
$bin/bin/kind completion bash > kind.bash
$bin/bin/kind completion zsh > kind.zsh
installShellCompletion kind.{bash,zsh}
for shell in bash zsh; do
$bin/bin/kind completion $shell > kind.$shell
installShellCompletion kind.$shell
done
'';
meta = {