5 ms·
It's just this: j() { local FILE="/home/$USER/notes/journal.md" if [ -z "$1" ]; then edit $FILE && return; fi echo >> $FILE echo "$@" >> $FIL
by lioeters 4y ago
It's just this:
j() {
local FILE="/home/$USER/notes/journal.md"
if [ -z "$1" ]; then edit $FILE && return; fi
echo >> $FILE
echo "$@" >> $FILE
}
I like what the other comment recommended, jrnl.sh.