summaryrefslogtreecommitdiff
path: root/bin/myhledger
diff options
context:
space:
mode:
Diffstat (limited to 'bin/myhledger')
-rwxr-xr-xbin/myhledger8
1 files changed, 6 insertions, 2 deletions
diff --git a/bin/myhledger b/bin/myhledger
index a7d81d6..cf73eef 100755
--- a/bin/myhledger
+++ b/bin/myhledger
@@ -20,12 +20,16 @@ years="${years:-$(find "$basedir" -mindepth 1 -maxdepth 1 -type d -regex '.*/[0-
journal() {
set -e
cd "$basedir"
- cat *.ledger 2> /dev/null || true
for year in $years; do
- cat $year/*.ledger 2> /dev/null || true
+ cat defaults.ledger 2> /dev/null || true
+ cat $year/primo.ledger 2> /dev/null || true
+ cat defaults.ledger 2> /dev/null || true
cat $year/assets/*.ledger 2> /dev/null || true
+ cat defaults.ledger 2> /dev/null || true
cat $year/income/*.ledger 2> /dev/null || true
+ cat defaults.ledger 2> /dev/null || true
cat $year/expenses/*.ledger 2> /dev/null || true
+ cat $year/ultimo.ledger 2> /dev/null || true
done
}