do you ever want to take a quick one line note without opening an application?
put this function in your shell:
n() {
printf '%s\n' "$(date +%F-%H-%M): $*" >> ~/n
}
use it in the terminal like:
n this is my note.
it adds 2024-10-04-19-31: this is my note.
to the the file ~/n.
simple, quick.