haskellPackages.hledger: add bash completion files

This commit is contained in:
Damien Cassou
2024-01-04 22:13:48 +01:00
parent 0528b99d21
commit adb7face9a
@@ -238,6 +238,10 @@ self: super: builtins.intersectAttrs super {
done
install -v -Dm644 *.info* -t "$out/share/info/"
if [ -e shell-completion/hledger-completion.bash ]; then
installShellCompletion --name hledger shell-completion/hledger-completion.bash
fi
'';
});