reaktor: ledger balance -> bier balance
This commit is contained in:
parent
b28706964e
commit
052cef71fd
@ -92,13 +92,13 @@ let
|
|||||||
];
|
];
|
||||||
hooks.PRIVMSG = [
|
hooks.PRIVMSG = [
|
||||||
{
|
{
|
||||||
pattern = "^ledger balance";
|
pattern = "^bier balance";
|
||||||
activate = "match";
|
activate = "match";
|
||||||
command = {
|
command = {
|
||||||
env = {
|
env = {
|
||||||
state_file = "${stateDir}/ledger";
|
state_file = "${stateDir}/ledger";
|
||||||
};
|
};
|
||||||
filename = pkgs.writeDash "ledger-balance" ''
|
filename = pkgs.writeDash "bier-balance" ''
|
||||||
${pkgs.hledger}/bin/hledger -f $state_file bal -N
|
${pkgs.hledger}/bin/hledger -f $state_file bal -N
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user