]> arthur.barton.de Git - ConfigScripts.git/blobdiff - sys/profile
Added support for remind(1)
[ConfigScripts.git] / 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