use only complete months in is en cf

This commit is contained in:
Felix Van der Jeugt 2020-10-16 10:34:59 +02:00
parent 64e878f67c
commit a985b43736
No known key found for this signature in database
GPG Key ID: 58B209295023754D
1 changed files with 2 additions and 2 deletions

4
yashrc
View File

@ -78,8 +78,8 @@ 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 is='hledger is -b $(date -d "6 months ago" +%Y-%m) -MTA --tree -2'
alias cf='hledger cf -b $(date -d "6 months ago" +%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 bs='hledger bs not:accounts'
# Rust debugging