fix(notes): get the subcommand

This commit is contained in:
ayo 2026-05-26 10:42:46 +02:00
parent c6c9d52662
commit 2fcdee3990

View file

@ -51,7 +51,7 @@ function createNote() {
} }
function main() { function main() {
case "$1" in case "$2" in
# DIFF: Show git diff of staged changes # DIFF: Show git diff of staged changes
diff|d) diff|d)
cd "$notes_dir" cd "$notes_dir"