From a758ac2cc79833256e5c7acbdf281bd268627819 Mon Sep 17 00:00:00 2001 From: Ayo Date: Mon, 23 Jun 2025 13:56:33 +0200 Subject: [PATCH] feat(journal): remove extra new line at the end of appended thought --- journal.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/journal.sh b/journal.sh index 8cc07f3..9448d9f 100755 --- a/journal.sh +++ b/journal.sh @@ -19,7 +19,7 @@ elif [ "$1" = "append" ]; then { read -p "Add thought: " thought time=$(date +'%r') - echo $'\n'\> \[$time\]$'\n'\> $thought$'\n' >> "$full_path" + echo $'\n'\> \[$time\]$'\n'\> $thought >> "$full_path" notesSync } || { echo ">>> Append failed"