@ -15,4 +15,7 @@ current_date=$(date +%Y-%m-%d)
nlog "opening note notes/$current_time.txt"
filename="notes/${current_date}.txt"
$EDITOR "$filename"
./noter.sh
# Override publish dir if passed as cli arg
[[ ! -z "$1" ]] && publish_dir="$1"
./noter.sh "${publish_dir}"