by jvanderbot · 3y ago · 0 comments
https://jodavaho.io/posts/bash-journalling.html
https://jodavaho.io/posts/bullet-journalling.html
It is essentially:
- One hidden folder for journal entries
- Each entry is a file of the form YYYY-MM-DD.md
- A bash alias will open today's file (or "yesterday" or "next thursday" or "2 weeks") using the date cli util
- A few vim formatting steps make the already-well-functioning github markdown work very nicely.
function journal() {
vim $logdir/$(date +%Y-%m-%d -d "$\*")
} function journal() {
vim $logdir/$(date +%Y-%m-%d -d "$*").md
}
Thanks!However my script only opens up the current date - love your extension to enable opening up other dates - gonna steal that :)
The main thing is that Joplin is still markdown, and I can trivially export if I want to switch to something else.