From 1c931f9dd0f634b489459ad4a4a553bde4c743b7 Mon Sep 17 00:00:00 2001 From: Felix Van der Jeugt Date: Sat, 23 Jan 2021 22:42:25 +0100 Subject: [PATCH] switch ledger to 2021 --- yashrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yashrc b/yashrc index 7573c5e..69caadd 100644 --- a/yashrc +++ b/yashrc @@ -12,8 +12,8 @@ fi # arrange history HISTFILE=~/.yash_history -HISTSIZE=5000 -HISTRMDUP=5000 +HISTSIZE=10000 +HISTRMDUP=10000 # Get ourselves a nice prompt ks() { s="$?" ; $* ; return "$s" ; } @@ -73,7 +73,7 @@ alias agenda="khal list today 7d" # Ledger alias haccounts="hledger -I --alias '/.*:Accounts [^:]*:(.*)/=Accounts:\1' bal accounts" -alias ladd='ladd -a /data/documents/ledger/2020/main.journal /data/documents/ledger/*/main.journal' +alias ladd='ladd -a /data/documents/ledger/2021/main.journal /data/documents/ledger/*/main.journal' alias is='hledger is -b $(date -d "7 months ago" +%Y-%m) -e $(date +%Y-%m) -MTA --tree -2' alias cf='hledger cf -b $(date -d "7 months ago" +%Y-%m) -e $(date +%Y-%m) -MTA --tree -2' alias bs='hledger bs not:accounts'