From ac0e07e330a33233d03f33e63866c0ff89d0de8b Mon Sep 17 00:00:00 2001 From: Noah Masur Date: Sun, 22 Nov 2020 23:16:00 -0500 Subject: [PATCH] cleanup journal notes script --- fish.configlink/functions/notes.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fish.configlink/functions/notes.fish b/fish.configlink/functions/notes.fish index 5334b18..5af52cb 100644 --- a/fish.configlink/functions/notes.fish +++ b/fish.configlink/functions/notes.fish @@ -21,7 +21,7 @@ function notes --description "Notes functions" echo "Already exists." else note_header - echo $JOURNAL_HEADER > $NOTES_PATH/$TODAY_NOTE.md + printf $JOURNAL_HEADER > $NOTES_PATH/$TODAY_NOTE.md echo "New journal added." end end @@ -34,7 +34,7 @@ function notes --description "Notes functions" vim $TODAY_NOTE.md else note_header - echo $JOURNAL_HEADER > $TODAY_NOTE.md + printf $JOURNAL_HEADER > $TODAY_NOTE.md echo "New journal added." vim $TODAY_NOTE.md end