refactor: readability
This commit is contained in:
parent
dddaba13cb
commit
ed5c2b8047
1 changed files with 1 additions and 2 deletions
|
@ -1,9 +1,8 @@
|
||||||
#! /usr/bin/bash
|
#! /usr/bin/bash
|
||||||
|
|
||||||
journal_dir="/home/ayo/notes/Journal"
|
journal_dir="/home/ayo/notes/Journal"
|
||||||
|
|
||||||
file_name=$(date +'%m.%d.%Y').md
|
|
||||||
month_dir=$(date +"%m %b")
|
month_dir=$(date +"%m %b")
|
||||||
|
file_name=$(date +'%m.%d.%Y').md
|
||||||
full_path="${journal_dir}/${month_dir}/${file_name}"
|
full_path="${journal_dir}/${month_dir}/${file_name}"
|
||||||
|
|
||||||
# IF Not Exists: create file & echo date
|
# IF Not Exists: create file & echo date
|
||||||
|
|
Loading…
Reference in a new issue