add hledger aliases for bs and is
This commit is contained in:
parent
93fc12e204
commit
99d3b8ca89
2
yashrc
2
yashrc
@ -75,6 +75,8 @@ alias agenda="khal list today 7d"
|
|||||||
|
|
||||||
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/2020/main.journal /data/documents/ledger/*/main.journal'
|
||||||
|
alias is='hledger is -b $(date -d "6 months ago" +%Y-%m) -MTA --tree -2'
|
||||||
|
alias bs='hledger bs not:accounts'
|
||||||
|
|
||||||
go() {
|
go() {
|
||||||
dir="$(lr /home /data /etc -t '(name ~~ ".*" && prune || print) && type = d && !(name = ".git")' \
|
dir="$(lr /home /data /etc -t '(name ~~ ".*" && prune || print) && type = d && !(name = ".git")' \
|
||||||
|
Loading…
Reference in New Issue
Block a user