We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1324b1b commit 7936f13Copy full SHA for 7936f13
notes
@@ -103,7 +103,7 @@ new_note() {
103
note_name=$resolved_name
104
fi
105
mkdir -p "$(dirname "$notes_dir/$note_name")"
106
- open_note "$note_name$file_ext"
+ open_note "$note_name"
107
}
108
109
remove_note() {
@@ -146,16 +146,12 @@ open_note() {
146
local ext_check
147
local buffer=()
148
149
-
150
for arg in $@; do
151
152
ext_check=true
153
note_path=$arg
154
155
if echo $note_path | grep -q '\.[a-z]'; then
156
ext_check=false
157
158
159
if [[ "$note_path" != *$file_ext ]] && $ext_check; then
160
note_path="$note_path$file_ext"
161
0 commit comments