From 2fcdee39900658349c0623bf02c305d9a24b7a3a Mon Sep 17 00:00:00 2001 From: Ayo Date: Tue, 26 May 2026 10:42:46 +0200 Subject: [PATCH] fix(notes): get the subcommand --- notes.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notes.sh b/notes.sh index 7b739c6..f566290 100755 --- a/notes.sh +++ b/notes.sh @@ -51,7 +51,7 @@ function createNote() { } function main() { - case "$1" in + case "$2" in # DIFF: Show git diff of staged changes diff|d) cd "$notes_dir"