kompose: update completion

This commit is contained in:
zowoq 2020-04-26 13:16:51 +10:00
parent 8193ac091a
commit fb5cf24d7b

View File

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