1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 18:21:07 +01:00

fix(hledger): work with all.journal and current.journal

This commit is contained in:
Kierán Meinhardt
2020-02-03 21:22:16 +01:00
parent b06a89f5f0
commit bc58b830eb
2 changed files with 3 additions and 2 deletions

View File

@@ -14,7 +14,8 @@ let
fi
'';
hledger-edit = pkgs.writers.writeDashBin "hledger-edit" ''
$EDITOR $LEDGER_FILE
LEDGER_DIR="$(dirname $LEDGER_FILE)"
$EDITOR ''${LEDGER_DIR}/current.journal
'';
in {
options.niveum.hledger = {