refactor: remove some prompts
This commit is contained in:
parent
2277d0ad7d
commit
dddaba13cb
1 changed files with 1 additions and 4 deletions
|
@ -1,7 +1,5 @@
|
||||||
#! /usr/bin/bash
|
#! /usr/bin/bash
|
||||||
|
|
||||||
echo "NEW NOTE"
|
|
||||||
|
|
||||||
journal_dir="/home/ayo/notes/Journal"
|
journal_dir="/home/ayo/notes/Journal"
|
||||||
|
|
||||||
file_name=$(date +'%m.%d.%Y').md
|
file_name=$(date +'%m.%d.%Y').md
|
||||||
|
@ -13,7 +11,6 @@ if ! test -f "$full_path"; then
|
||||||
install -Dv /dev/null $full_path
|
install -Dv /dev/null $full_path
|
||||||
# TODO: update to correct heading from old entries
|
# TODO: update to correct heading from old entries
|
||||||
heading=$(date +'%m-%d-%Y')
|
heading=$(date +'%m-%d-%Y')
|
||||||
echo writing $heading to "$full_path"
|
|
||||||
echo $heading > "$full_path"
|
echo $heading > "$full_path"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -21,4 +18,4 @@ fi
|
||||||
vim "$full_path"
|
vim "$full_path"
|
||||||
|
|
||||||
# Report; TODO: write log
|
# Report; TODO: write log
|
||||||
echo ">>> " $month_dir / $file_name
|
echo ">>> " $full_path
|
||||||
|
|
Loading…
Reference in a new issue