Oddbean new post about | logout
 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. 
 I really like this 
 it cuts the command line into two on this little phone screen. one line 
 And I have a bullet journal that is one line per day, could be great to avoid opening anything 
 you could strip the $(date  +%F-%H-%M) down to just $(date +%F) then. 
 t-y   interesting! 
 that's not a note, there is no signature