From 41549dc5e24a5329a7d2e25b4f555a8a0c0adc94 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Mon, 8 Nov 2010 21:17:59 +0100 Subject: [PATCH] zsh/rc: Run rem on startup and after every four hours. --- zsh/rc | 6 ++++++ 1 file changed, 6 insertions(+) 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)" -- 2.44.2