Hacker News new | ask | show | jobs
by ehnto 1367 days ago
I have something similar, I made it check for a .notes folder in the current working directory so that I can have per-project notes just by adding that folder in first. I want to add custom filenames as I'm finding that easier to mentally keep track of, like "integration-bug-factfinding.note" is a little easer to find again than "12-22-2022.note". Currently I have these commands:

note //Adds a note to the current days notefile, in the current directory's .notes folder if present or ~/.notes if not

edit-note //Opens the same notefile as above in a text editor

notes //Concats todays notefiles echos displays them

all-notes //Concats all notes ever and echos them, useful to grep for keywords across my history of notes