]> arthur.barton.de Git - ConfigScripts.git/commitdiff
Search ".remind" file in the home directory
authorAlexander Barton <alex@barton.de>
Tue, 7 Feb 2012 20:28:46 +0000 (21:28 +0100)
committerAlexander Barton <alex@barton.de>
Tue, 7 Feb 2012 20:28:46 +0000 (21:28 +0100)
And slightly enhance ("filter") output.

sys/profile

index 29e691cf56b4d8ac46b6844bde741d2c6bdc76ca..423c3803e1177587dd2512dc8aaee5dc5b5dcdb0 100644 (file)
@@ -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