feat(journal): initial sync

This commit is contained in:
Ayo Ayco 2025-06-21 22:25:53 +02:00
parent ad4a3859c2
commit 8f687d6760

View file

@ -3,6 +3,11 @@
# Load config
. ${HOME}/.ayo.config
command=$1
if [ "$1" = "sync" ]; then
echo 'sync' #TODO: git pull, git add ... git commit, git push
else
journal_dir="${notes_dir}/Journal"
month_dir=$(date +"%m %b")
file_name=$(date +'%m.%d.%Y').md
@ -22,3 +27,4 @@ vim "$full_path"
# Report; TODO: write log
echo ">>> " $full_path
fi