View reminder wil now tell you if there are no reminders.
This commit is contained in:
parent
4e00211c02
commit
563e0277aa
@ -94,8 +94,12 @@ add_weekly_reminder() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
view_reminders() {
|
view_reminders() {
|
||||||
mapfile -t lines < ~/.reminders
|
if ! [[ -r ~/.reminders ]]; then
|
||||||
|
error "No reminders found."
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
|
mapfile -t lines < ~/.reminders
|
||||||
# Create an empty array to store cleaned-up reminders
|
# Create an empty array to store cleaned-up reminders
|
||||||
yadMenu=()
|
yadMenu=()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user