commit a27b56b440d24a0666f2bceb6979261b737e7b0f parent 2a14e7dcdd4fe190fee4117f268937bd15ec5324 Author: Andrew Laack <andrew@laack.co> Date: Sun, 15 Feb 2026 20:40:41 -0600 Added two more scripts for managing documentation / notetaking stuff Diffstat:
| A | docs.sh | | | 3 | +++ |
| A | todo.sh | | | 9 | +++++++++ |
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/docs.sh b/docs.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +st -e bash -c 'cd ~/gitRepos/notes/docs && nvim index.md; exec bash' diff --git a/todo.sh b/todo.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +cd "/home/andrew/gitRepos/personal-notes" || exit +YESTERDAY=$(date -d "1 day ago" +%Y-%m-%d) +TODAY=$(date +%Y-%m-%d) +mkdir -p daily + +ls daily/$TODAY.md || cp daily/$YESTERDAY.md daily/$TODAY.md +st -e bash -c 'cd ~/gitRepos/personal-notes && nvim daily/$(date +%Y-%m-%d).md; exec bash'