]> arthur.barton.de Git - ConfigScripts.git/commitdiff
Added support for remind(1)
authorAlexander Barton <alex@barton.de>
Thu, 16 Sep 2010 12:58:50 +0000 (14:58 +0200)
committerAlexander Barton <alex@barton.de>
Thu, 16 Sep 2010 12:58:50 +0000 (14:58 +0200)
sys/profile

index e673b016601fb6da6feee4bee7868f13a39dfc08..546f0acea549f288427aa458aa8e02d13e034092 100644 (file)
@@ -112,6 +112,13 @@ fi
        && PS1="<$ME> # " \
        || PS1="<$ME> \$ "
 
+# remind(1)
+type -p remind >/dev/null 2>&1
+if [ $? -eq 0 -a -r ~/.remind ]; then
+       remind -h -g -t5 .remind | grep "^[0-9]"
+       [ $? -eq 0 ] && echo
+fi
+
 # bash-specific initialization
 [ "$BASH" -a -z "$BASHRCREAD" -a -r /etc/bash.bashrc ] \
        && source /etc/bash.bashrc