From 2db0a467f04f780ad21c109ad6531dfacacc853c Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Tue, 27 Jan 2009 18:20:21 +0100 Subject: [PATCH] Don't display TODOs periodically. This was just annoying and didn't make me complete them sooner. --- zsh/rc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/zsh/rc b/zsh/rc index 2104c4e..73f3f1d 100644 --- a/zsh/rc +++ b/zsh/rc @@ -261,16 +261,12 @@ TRAPINT() { return $1 } -# Execute all periodic functions every hour. -PERIOD=3600 -# Display TODOs stored in ~/.todo if this file exists. Run every hour to make -# clear they should be completed ;-). +# Display TODOs stored in ~/.todo if this file exists. todo() { if [[ -f ~/.todo ]]; then cat ~/.todo | $PAGER fi } -add-zsh-hook periodic todo # Load rc file for current OS. -- 2.44.2