cleanup journal notes script

This commit is contained in:
Noah Masur 2020-11-22 23:16:00 -05:00
parent 87c5cd24be
commit ac0e07e330

View File

@ -21,7 +21,7 @@ function notes --description "Notes functions"
echo "Already exists." echo "Already exists."
else else
note_header note_header
echo $JOURNAL_HEADER > $NOTES_PATH/$TODAY_NOTE.md printf $JOURNAL_HEADER > $NOTES_PATH/$TODAY_NOTE.md
echo "New journal added." echo "New journal added."
end end
end end
@ -34,7 +34,7 @@ function notes --description "Notes functions"
vim $TODAY_NOTE.md vim $TODAY_NOTE.md
else else
note_header note_header
echo $JOURNAL_HEADER > $TODAY_NOTE.md printf $JOURNAL_HEADER > $TODAY_NOTE.md
echo "New journal added." echo "New journal added."
vim $TODAY_NOTE.md vim $TODAY_NOTE.md
end end