After posting this question and getting so much feedback, I should have come back and posted what I ended up doing – which is basically this.
I set up a bash function and an alias, one for very short notes and one for slightly longer notes:
For shorter notes, I use the function, with my note as a string argument. I’ve set it to append a single long running file instead of creating a new file, because I like reviewing all my notes in one place before organizing them.
function n() {
now=$(date +"%m/%d/%y, %H:%M") && echo -e "##" $now "
"$@ >> /Users/path/file.md;
}
For longer notes, I do basically the same as yours, but with the same single file as above.
alias nv='now=$(date +"%m/%d/%y, %H:%M") && echo -e "
""##" $now "
" >> /Users/path/file.md'
I also have a keyboard shortcut set to open terminal – so whenever I want to jot a quick note I just ⌘⌃T and type n "note to save".