From 21788882d38498c4edbb8751be9a7782b2e9e91f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Fri, 27 Feb 2026 19:14:05 +0100 Subject: [PATCH] Update journal shortcut --- zsh/zshrc.j2 | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/zsh/zshrc.j2 b/zsh/zshrc.j2 index c89a707..289bb5d 100644 --- a/zsh/zshrc.j2 +++ b/zsh/zshrc.j2 @@ -333,12 +333,7 @@ embiggen() { } journal() { - journaldir=~/sync/journal/ - file="$journaldir/$(date +%Y-%m-%d).md" - if [[ ! -e $file ]] ; then - cp $journaldir/template.md $file || return - fi - $EDITOR $file + $EDITOR ~/sync/journal/"$(date +%Y-%m-%d).md" } prefix() {