5 lines
124 B
Bash
Executable file
5 lines
124 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
SUBDIR="${2:-}"
|
|
mkdir -p "$NOTES_PATH/$SUBDIR"
|
|
"$EDITOR" "$NOTES_PATH/$SUBDIR/$(date +%Y-%m-%d)_$1.md"
|