Skip to content

Commit 360a620

Browse files
author
rmNULL
authored
reverted mkdir changes
1 parent 565b2fe commit 360a620

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

notes

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,8 @@ new_note() {
117117
if [[ $note_name == "" ]]; then
118118
note_name="$(generate_name)"
119119
fi
120-
# mkdir -p "$(dirname "$notes_dir/$note_name")"
120+
mkdir -p "$(dirname "$notes_dir/$note_name")"
121121

122-
mkdir -p "$notes_dir"
123122
ext="${note_name#*.}"
124123
if [[ ext = $note_name ]]; then # lacks extension
125124
open_note "$note_name.$NOTES_EXT"

0 commit comments

Comments
 (0)