tektoncd-cli: update to new installShellConfiguration format

This commit is contained in:
06kellyjac 2020-11-16 21:36:24 +00:00
parent 204f52ce65
commit ec87b7398f

View File

@ -27,10 +27,10 @@ buildGoModule rec {
mkdir -p "$out/share/man/man1" mkdir -p "$out/share/man/man1"
cp docs/man/man1/* "$out/share/man/man1" cp docs/man/man1/* "$out/share/man/man1"
# TODO: Move to enhanced installShellCompletion when merged: PR #83630 installShellCompletion --cmd tkn \
$out/bin/tkn completion bash > tkn.bash --bash <($out/bin/tkn completion bash) \
$out/bin/tkn completion zsh > _tkn --fish <($out/bin/tkn completion fish) \
installShellCompletion tkn.bash --zsh _tkn --zsh <($out/bin/tkn completion zsh)
''; '';
meta = with lib; { meta = with lib; {