From: Simon Ruderich Date: Mon, 2 May 2011 02:04:34 +0000 (+0200) Subject: zsh/rc: Only run rem if ~/.reminders exists. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;ds=inline;h=74e9edd1063220be05ea1d9d430cdf430dac09f9;p=config%2Fdotfiles.git zsh/rc: Only run rem if ~/.reminders exists. --- diff --git a/zsh/rc b/zsh/rc index a59bf29..f38761f 100644 --- a/zsh/rc +++ b/zsh/rc @@ -649,7 +649,7 @@ done &) # Run reminder and redisplay it every four hours (if it's available). PERIOD=14400 periodic() { - which rem > /dev/null && rem -h + which rem > /dev/null && [ -f ~/.reminders ] && rem -h }