]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
Don't display TODOs periodically.
authorSimon Ruderich <simon@ruderich.org>
Tue, 27 Jan 2009 17:20:21 +0000 (18:20 +0100)
committerSimon Ruderich <simon@ruderich.org>
Mon, 16 Feb 2009 15:34:42 +0000 (16:34 +0100)
This was just annoying and didn't make me complete them sooner.

zsh/rc

diff --git a/zsh/rc b/zsh/rc
index 2104c4eebd6ea0d77fcbe81e69953cd71cee1806..73f3f1df4fe3c14602eace34922790f2b4080cd9 100644 (file)
--- 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.