From 7f2b54688f75e28d86bb0df2fffb8fdc508b6546 Mon Sep 17 00:00:00 2001 From: Noah Masur Date: Wed, 22 Jul 2020 15:44:22 -0400 Subject: [PATCH] journal formatting --- zsh/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/functions b/zsh/functions index 71ee843..ce33bfb 100644 --- a/zsh/functions +++ b/zsh/functions @@ -139,7 +139,7 @@ journal() { else yesterday=$(date -jv "-1d" +"%Y-%m-%d_%a") tomorrow=$(date -jv "+1d" +"%Y-%m-%d_%a") - printf "[[$yesterday|Previous]] - [[calendar|Index]] - [[$tomorrow|Next]]\n\n---\n\n#Tasks\n\n\n#Log\n\n\n#Communication\n\n---\n\n#Meetings\n\n" > $today_journal + printf "[[journal/$yesterday|Previous]] - [[calendar|Index]] - [[journal/$tomorrow|Next]]\n\n---\n\n# Tasks\n\n\n# Log\n\n\n# Communication\n\n---\n\n# Meetings\n\n" > $today_journal echo "New journal added." fi }