diff options
author | Guangxiong Lin <[email protected]> | 2022-11-14 23:11:05 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-11-14 23:12:47 +0800 |
commit | ec1a3a87f9e8eb48c81ea35c0ec35c3fe3c71386 (patch) | |
tree | 0918f0b833e4d23203ed3b3d6afb9dae4521044a | |
parent | 410907e5674227bc1ed03322f46d5b9189b8ea57 (diff) | |
download | wd-ec1a3a87f9e8eb48c81ea35c0ec35c3fe3c71386.tar.gz wd-ec1a3a87f9e8eb48c81ea35c0ec35c3fe3c71386.tar.bz2 wd-ec1a3a87f9e8eb48c81ea35c0ec35c3fe3c71386.zip |
Update journal file path
-rwxr-xr-x | wd | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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" |