3 ms·
In .bashrc: notes() { echo $1 >> $HOME/notes.md } Now `notes 'blah blah'` wherever. I have a bunch of small functions like this for various thi
by Jach 10y ago
In .bashrc:
notes() {
echo $1 >> $HOME/notes.md
}
Now `notes 'blah blah'` wherever.
I have a bunch of small functions like this for various things in my day-job, it helps a lot.
- therealmocker 10y agoBeware of keeping notes without properly escaping them. :)