From 2152c1739c679f7d776cad7810c31922f1d219d7 Mon Sep 17 00:00:00 2001 From: Noah Masur Date: Sun, 2 Aug 2020 10:21:35 -0400 Subject: [PATCH] fix typo in journal --- 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 1a886a5..9b08b9c 100644 --- a/fish.configlink/functions/notes.fish +++ b/fish.configlink/functions/notes.fish @@ -11,7 +11,7 @@ function notes --description "Notes functions" set yesterday (date -jv "-1d" +"%Y-%m-%d_%a") set tomorrow (date -jv "+1d" +"%Y-%m-%d_%a") set weather (curl -s "https://wttr.in/?format=1") - printf "[[$yesterday|Previous]] - [[calendar|Index]] - [[$tomorrow|Next]]\n\n---\n\n$weather\n\n # Tasks\n\n\n# Log\n\n\n# Communication\n\n---\n\n# Meetings\n\n" > $today_journal + printf "[[$yesterday|Previous]] - [[calendar|Index]] - [[$tomorrow|Next]]\n\n---\n\n$weather\n\n# Tasks\n\n\n# Log\n\n\n# Communication\n\n---\n\n# Meetings\n\n" > $today_journal echo "New journal added." end end @@ -26,7 +26,7 @@ function notes --description "Notes functions" set yesterday (date -jv "-1d" +"%Y-%m-%d_%a") set tomorrow (date -jv "+1d" +"%Y-%m-%d_%a") set weather (curl -s "https://wttr.in/?format=1") - printf "[[$yesterday|Previous]] - [[calendar|Index]] - [[$tomorrow|Next]]\n\n---\n\n$weather\n\n # Tasks\n\n\n# Log\n\n\n# Communication\n\n---\n\n# Meetings\n\n" > $today_journal + printf "[[$yesterday|Previous]] - [[calendar|Index]] - [[$tomorrow|Next]]\n\n---\n\n$weather\n\n# Tasks\n\n\n# Log\n\n\n# Communication\n\n---\n\n# Meetings\n\n" > $today_journal echo "New journal added." vim $today_journal end