3 ms·
This is my solution but it may not be best for everyone. Notes: # .profile function note { mg +-1 "/home/.../notes/$(date "+%Y-%m-%d").txt"; } mg is
by accrual 7y ago
This is my solution but it may not be best for everyone.
Notes:
# .profile
function note { mg +-1 "/home/.../notes/$(date "+%Y-%m-%d").txt"; }
mg is micro emacs, +-1 opens the file with the cursor at the end.
Transactions:
I record my transactions into ledger[0]. I wrote an auto-complete wrapper in Python to help speed up entry and another to keep the formatting consistent, but otherwise it's a manual job. It helps keep me aware of my transactions, plus I like to add comments and customize the entries instead of just loading them from the institution's CSVs.
[0] https://www.ledger-cli.org https://www.ledger-cli.org
- comboy 7y agoThis one liner is a winner. I have more primitive approach with a single file. I've been doing it for about 20 years. Services come and go and you can deal with that. But what's crucial to me, is that it is fast. Always. No logging in, just a keyboard shortcut and I'm writing. Waiting for something to load everywhere can be really annoying.
- OrgNet 7y agoan alternative: # .profile note () { echo $@ > ~/Backup/Notes/$( date '+%F_%H:%M:%S' ).txt; } usage example: ~$ note this is my new short note