fix(notes): get the subcommand
This commit is contained in:
parent
c6c9d52662
commit
2fcdee3990
1 changed files with 1 additions and 1 deletions
2
notes.sh
2
notes.sh
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue