Skip to content

Commit 7352030

Browse files
authored
Merge pull request #54 from rmNULL/master
deal with extensions when creating new note
2 parents 15189dc + bff5f4e commit 7352030

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

notes

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ new_note() {
118118
note_name="$(generate_name)"
119119
fi
120120
mkdir -p "$(dirname "$notes_dir/$note_name")"
121-
open_note "$note_name.$NOTES_EXT"
121+
122+
open_note "$note_name"
122123
}
123124

124125
remove_note() {

0 commit comments

Comments
 (0)