zkbro

Quick Post 2025-08-28 21:02

2025-08-28 21:02

Still not greatly satisfied with my note-taking and note-recalling workflows, I made some slight improvements. First following Juha-Matti Santala's method of structuring daily notes into their own YYYY/YYYY-MM/ folders. I was already doing that, but I forgot you could automate it in Obsidian, and I tweaked my daily-note.sh script (alias dn) to do it for me on Linux:

#!/bin/sh

notePath="$HOME/02-Areas/notes/daily-notes/$(date +%Y)/$(date +%Y-%m)"
noteFilename="$notePath/$(date +%Y-%m-%d).md"
template="$HOME/02-Areas/notes/templates/daily-note-template.md"

if [ ! -d $notePath ]; then
    mkdir $notePath
fi

if [ ! -f $noteFilename ]; then
    cp $template $noteFilename
fi

cd $notePath
hx $noteFilename

My Helix/Marksman combo for my markdown notes was not working 100%, unable to skip to referenced internal links from files within subfolders with goto definition (gd) because of some way that Helix determines root folders. Dropping the marksman.toml file in the root notes folder should do the trick, but it only enabled marksman for that directory. Solution was to run git init in there which enabled it for all subdirectories.