From ec1a3a87f9e8eb48c81ea35c0ec35c3fe3c71386 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Mon, 14 Nov 2022 23:11:05 +0800 Subject: Update journal file path --- wd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wd b/wd index f43b6af..9a76b1e 100755 --- a/wd +++ b/wd @@ -40,10 +40,10 @@ cmd_journal () { local weekly_journal_subtitle="## $(date '+%Y-%m-%d %A')" local monthly_journal_title="# $(date '+%B %Y')" - local monthly_journal_subtitle="## [Week $week_number $year](week$week_number.md)" + local monthly_journal_subtitle="## [Week $week_number $year]($year-week$week_number.md)" - local weekly_journal="$WD_JOURNALS_DIR/$year/week$week_number.md" - local monthly_journal="$WD_JOURNALS_DIR/$year/$(date '+%Y-%m').md" + local weekly_journal="$WD_JOURNALS_DIR/$year-week$week_number.md" + local monthly_journal="$WD_JOURNALS_DIR/$(date '+%Y-%m').md" local file_to_edit="$weekly_journal" local file_title="$weekly_journal_title" -- cgit v1.2.3