Hledger
hledger setup
The .hledger directory is synced with kzone
The current.journal file is located at /media/EADC-661E/radio/.hledger/current.journal at year end this file will be renamed to the previous year i.e. 2020.journal
To avoid typing -f FILE every time, set the LEDGER_FILE environment variable. Eg:
echo "export LEDGER_FILE=/media/EADC-661E/radio/.hledger/current.journal" >> ~/.bash_profile && source ~/.bash_profile
or taken from manual
echo 'export LEDGER_FILE=~/finance/2023.journal` >> ~/.profile
source ~/.profile
Current alias in use are: -
alias bal='hledger bs --flat -2'
alias h='hledger add'