feat(journal): remove extra new line at the end of appended thought

This commit is contained in:
Ayo Ayco 2025-06-23 13:56:33 +02:00
parent d6afb4e303
commit a758ac2cc7

View file

@ -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"