psc-package: Adopt new installShellCompletion syntax
This commit is contained in:
parent
7e1e8543fc
commit
722cc88865
1 changed files with 4 additions and 6 deletions
|
@ -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; {
|
||||||
|
|
Loading…
Reference in a new issue