From 10a38aa3e23e834530249a0d79f57f743a708bce Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 2 Oct 2025 00:07:20 +0100 Subject: [PATCH] Run the Git commands within the notes repository Signed-off-by: Oliver Davies --- modules/scripts/todo.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/scripts/todo.nix b/modules/scripts/todo.nix index bc37f902..9eb0248c 100644 --- a/modules/scripts/todo.nix +++ b/modules/scripts/todo.nix @@ -14,6 +14,7 @@ in text = '' "$EDITOR" +3 "$TODO_FILE" + cd "$NOTES_DIRECTORY" git add "$TODO_FILE" git commit -m "Update TODOs" git push