diff --git a/ayo.sh b/ayo.sh index 23a7f73..cfcaf59 100755 --- a/ayo.sh +++ b/ayo.sh @@ -6,6 +6,12 @@ case $1 in ja) # journal append . ${HOME}/Projects/scripts/journal.sh append $2 $3 $4 $5 $6 $7 $8 $9 ;; + jt) # journal using typora + . ${HOME}/Projects/scripts/journal.sh -t $2 $3 $4 $5 $6 $7 $8 $9 + ;; + nt) # Notes using typora + . ${HOME}/Projects/scripts/notes.sh -t $2 $3 $4 $5 $6 $7 $8 $9 + ;; gs) # git status . ${HOME}/Projects/scripts/git.sh stat $2 $3 $4 $5 $6 $7 $8 $9 ;; diff --git a/journal.sh b/journal.sh index 8bf1c77..8b79ddc 100755 --- a/journal.sh +++ b/journal.sh @@ -13,8 +13,6 @@ getopts "t" typora; #check if -t flag is given file_name=$(date +'%m.%d.%Y').md full_path="${journal_dir}/${month_dir}/${file_name}" -notesSync - if [ "$1" = "append" ]; then { read -p "Add thought: " thought diff --git a/notes.sh b/notes.sh index 15e4951..91779e5 100755 --- a/notes.sh +++ b/notes.sh @@ -12,8 +12,6 @@ command=$1 getopts "t" typora; #check if -t flag is given -notesSync - { read -p "Enter file name: " title file_name=$title.md