diff options
Diffstat (limited to 'noteutil.cheat')
-rw-r--r-- | noteutil.cheat | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noteutil.cheat b/noteutil.cheat index 9f20b19..a37ccb1 100644 --- a/noteutil.cheat +++ b/noteutil.cheat @@ -1,10 +1,10 @@ % noteutil # Generate weekly journal by template -noteutil template weekly -o <weekly_journal> +[ ! -f <weekly_journal> ] && noteutil template weekly -o <weekly_journal> # Generate monthly journal by template -noteutil template monthly -o <monthly_journal> +[ ! -f <monthly_journal> ] && noteutil template monthly -o <monthly_journal> $ weekly_journal: noteutil journal --period weekly --date today $ monthly_journal: noteutil journal --period monthly --date today |