From: Simon Ruderich Date: Mon, 8 Nov 2010 20:17:59 +0000 (+0100) Subject: zsh/rc: Run rem on startup and after every four hours. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=41549dc5e24a5329a7d2e25b4f555a8a0c0adc94;p=config%2Fdotfiles.git zsh/rc: Run rem on startup and after every four hours. --- diff --git a/zsh/rc b/zsh/rc index cc4e90a..bab6a06 100644 --- a/zsh/rc +++ b/zsh/rc @@ -634,6 +634,12 @@ if [[ $TERM != dumb && $TERM != linux && -z $STY ]]; then fi fi +# Run reminder and redisplay it every four hours (if it's available). +PERIOD=14400 +periodic() { + which rem > /dev/null && rem +} + source_debug ". ~/.zsh/rc (done)"