Add small divider between different dates in 'upcoming'

This commit is contained in:
Jaidyn Levesque 2020-01-26 01:29:40 -06:00
parent 9d8609b1b4
commit 5a47c9a5c5

View File

@ -290,6 +290,7 @@ function upcoming_todo_lines {
cat "$todo_file" \ cat "$todo_file" \
| preprocess_todo \ | preprocess_todo \
| date_todo_lines "$(add_days "$start_date" "$i")" | date_todo_lines "$(add_days "$start_date" "$i")"
if test "$?" -eq 0 -a "$i" -ne "$(dec "$limit")"; then echo "---"; fi
i="$(inc "$i")" i="$(inc "$i")"
done done
} }