psc-package: Adopt new installShellCompletion syntax

This commit is contained in:
Lily Ballard 2020-04-01 17:47:50 -07:00 committed by Lily Ballard
parent 7e1e8543fc
commit 722cc88865

View file

@ -44,12 +44,10 @@ stdenv.mkDerivation rec {
'' + '' '' + ''
chmod u-w $PSC_PACKAGE chmod u-w $PSC_PACKAGE
$PSC_PACKAGE --bash-completion-script $PSC_PACKAGE > psc-package.bash installShellCompletion --cmd psc-package \
$PSC_PACKAGE --fish-completion-script $PSC_PACKAGE > psc-package.fish --bash <($PSC_PACKAGE --bash-completion-script $PSC_PACKAGE) \
$PSC_PACKAGE --zsh-completion-script $PSC_PACKAGE > _psc-package --fish <($PSC_PACKAGE --fish-completion-script $PSC_PACKAGE) \
installShellCompletion \ --zsh <($PSC_PACKAGE --zsh-completion-script $PSC_PACKAGE)
psc-package.{bash,fish} \
--zsh _psc-package
''; '';
meta = with lib; { meta = with lib; {