feat(journal): remove extra new line at the end of appended thought
This commit is contained in:
parent
d6afb4e303
commit
a758ac2cc7
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue