phpactor: simplify shell completion installation

This commit is contained in:
Piotr Kwiecinski
2024-08-12 13:56:46 +02:00
parent e2e2a2c9bc
commit b018ad68c0
+1 -5
View File
@@ -19,13 +19,9 @@ php.buildComposerProject (finalAttrs: {
nativeBuildInputs = [ installShellFiles ];
postPatch = ''
patchShebangs bin/phpactor
'';
postInstall = ''
installShellCompletion --cmd phpactor \
--bash <($out/bin/phpactor completion bash)
--bash <(php $out/bin/phpactor completion bash)
'';
meta = {