Skip to content

Commit a2bd50c

Browse files
committed
Clean notes variables
1 parent 0ceb2bc commit a2bd50c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

_notes

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ _notes ()
6262
_alternative 'sub-commands:files:__notes_cmd' && _ret=0
6363
elif (($CURRENT == 3)); then
6464
case $words[2] in
65-
open|rm|new)
65+
open|o|rm)
6666
_path_files -W "${note_dir}" && _ret=0;;
67-
ls)
67+
new|n|ls)
6868
_path_files -W "${note_dir}" -/ && _ret=0;;
6969
esac
7070
fi

notes

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/usr/bin/env bash
22

33
QUICKNOTE_FORMAT="quicknote-%Y-%m-%d"
4-
PREFERED_EXT=.md
5-
GREP_COLOR=always
4+
PREFERED_EXT=".md"
5+
GREP_COLOR="always"
66

77
# Look for configuration file at ~/.config/notes/config and use it
88
if [ -f ~/.config/notes/config ]; then

0 commit comments

Comments
 (0)