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