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"
cp docs/man/man1/* "$out/share/man/man1"
# TODO: Move to enhanced installShellCompletion when merged: PR #83630
$out/bin/tkn completion bash > tkn.bash
$out/bin/tkn completion zsh > _tkn
installShellCompletion tkn.bash --zsh _tkn
installShellCompletion --cmd tkn \
--bash <($out/bin/tkn completion bash) \
--fish <($out/bin/tkn completion fish) \
--zsh <($out/bin/tkn completion zsh)
'';
meta = with lib; {