mirror of
https://github.com/nmasur/dotfiles
synced 2026-11-08 02:55:02 +00:00
journal formatting
This commit is contained in:
1 parent
c8d0a1ec43
commit
7f2b54688f
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user