From 49e5b10e06be14c26f782981cd89ac17e7622b81 Mon Sep 17 00:00:00 2001 From: Edwin van den Houdt Date: Sat, 9 May 2026 12:34:48 +0200 Subject: [PATCH] update note functions with -template suffix --- bash/.bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bash/.bashrc b/bash/.bashrc index b299f45..f7095cc 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -92,7 +92,7 @@ today() { mkdir -p ~/notes/daily if [ ! -f "$file" ]; then sed "s/YYYY-MM-DD/$(date +%Y-%m-%d)/g" \ - ~/notes/templates/daily.md > "$file" + ~/notes/templates/daily-template.md > "$file" fi ${EDITOR} "$file" } @@ -103,7 +103,7 @@ thisweek() { mkdir -p ~/notes/weekly if [ ! -f "$week" ]; then sed "s/YYYY-WNN/$(date +%Y-W%V)/g" \ - ~/notes/templates/weekly.md > "$week" + ~/notes/templates/weekly-template.md > "$week" fi ${EDITOR} "$week" }