switch ledger to 2021
This commit is contained in:
parent
3df75b6db7
commit
1c931f9dd0
6
yashrc
6
yashrc
@ -12,8 +12,8 @@ fi
|
|||||||
|
|
||||||
# arrange history
|
# arrange history
|
||||||
HISTFILE=~/.yash_history
|
HISTFILE=~/.yash_history
|
||||||
HISTSIZE=5000
|
HISTSIZE=10000
|
||||||
HISTRMDUP=5000
|
HISTRMDUP=10000
|
||||||
|
|
||||||
# Get ourselves a nice prompt
|
# Get ourselves a nice prompt
|
||||||
ks() { s="$?" ; $* ; return "$s" ; }
|
ks() { s="$?" ; $* ; return "$s" ; }
|
||||||
@ -73,7 +73,7 @@ alias agenda="khal list today 7d"
|
|||||||
|
|
||||||
# Ledger
|
# Ledger
|
||||||
alias haccounts="hledger -I --alias '/.*:Accounts [^:]*:(.*)/=Accounts:\1' bal accounts"
|
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 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 cf='hledger cf -b $(date -d "7 months ago" +%Y-%m) -e $(date +%Y-%m) -MTA --tree -2'
|
||||||
alias bs='hledger bs not:accounts'
|
alias bs='hledger bs not:accounts'
|
||||||
|
Loading…
Reference in New Issue
Block a user