From aa7dcef69b644da6604835d1be5b27bd4856f2d8 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Tue, 7 Feb 2012 21:28:46 +0100 Subject: [PATCH] Search ".remind" file in the home directory And slightly enhance ("filter") output. --- sys/profile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/profile b/sys/profile index 29e691c..423c380 100644 --- a/sys/profile +++ b/sys/profile @@ -141,7 +141,8 @@ else # remind(1) type -p remind >/dev/null 2>&1 if [ $? -eq 0 -a -r ~/.remind ]; then - remind -h -g -t5 .remind | grep "^[0-9]" + remind -h -g -t5 ~/.remind | \ + grep -v '^Reminders for ' | grep -v '^$' [ $? -eq 0 ] && echo fi fi -- 2.39.2