Because what if you do this:
# Good bye, everything up to this point
echo "crap" > notes.md
Or are in another directory # Good bye, everything up to this point
echo "crap" > notes.md
Or are in another directory 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.