# Reminders (once every 60 minutes)
if [ -z `find ~/.last_reminder -mmin -60 2>/dev/null` ]; then
[ -e ~/.ConfigScripts.debug ] && echo " - Reminders ..."
- if [ "$(type -t icalBuddy >/dev/null)" -a "$LOGNAME" != "root" ]; then
+ if [ "$(type -t icalBuddy 2>/dev/null)" -a "$LOGNAME" != "root" ]; then
# icalBuddy(1)
case "$LANG" in
*.UTF*) bul="•"; bul_imp="!"; sep="»"; ;;
unset bul bul_imp sep
else
# remind(1)
- if [ "$(type -t remind >/dev/null)" -a -r ~/.remind ]; then
+ if [ "$(type -t remind 2>/dev/null)" -a -r ~/.remind ]; then
remind -h -g -t5 ~/.remind | \
grep -v '^Reminders for ' | grep -v '^$'
[ $? -eq 0 ] && echo