1 # AX-ZSH: Alex' Modular ZSH Configuration
2 # remind.zshrc: Show reminders of remind(1).
4 # Make sure that "remind(1)" is installed.
5 (( $+commands[remind] )) || return 1
8 alias remindcal='remind -ccu+3 -m -w$COLUMNS,4,0 $HOME/.remind'
10 # Check if reminders have been shown during last 60 minutes, and if so,
11 # don't show them now but return.
12 [[ -z `find ~/.last_reminder -mmin -60 2>/dev/null` ]] || return 0
15 remind -h -g -t5 ~/.remind && echo
18 [[ -w ~/ ]] && touch ~/.last_reminder