From ec0dc3791d89a813676886eb91f5f5356df42091 Mon Sep 17 00:00:00 2001 From: Ayo Date: Sat, 21 Jun 2025 13:22:22 +0200 Subject: [PATCH] feat: rename journal file; use /home/ayo var --- new_journal.sh => journal.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename new_journal.sh => journal.sh (92%) diff --git a/new_journal.sh b/journal.sh similarity index 92% rename from new_journal.sh rename to journal.sh index 20768cb..b36794c 100755 --- a/new_journal.sh +++ b/journal.sh @@ -1,6 +1,6 @@ #! /usr/bin/bash -journal_dir="/home/ayo/notes/Journal" +journal_dir="${HOME}/notes/Journal" month_dir=$(date +"%m %b") file_name=$(date +'%m.%d.%Y').md full_path="${journal_dir}/${month_dir}/${file_name}"