# HG changeset patch # User huston@80426f53-59d1-405d-934b-f07cd76f4a1a # Date 1277240083 0 # Node ID 0a7d093f4c04efe9854b6fa6547e00f4df94fe2d # Parent 998337c2b6f2908f4713ef8802fb9d173565255d * Changed Toodledo sorts/greps based on context, not folder * After fixing status, removing deferred tasks will work wherever it's grepped. diff -r 998337c2b6f2 -r 0a7d093f4c04 .bash_aliases --- a/.bash_aliases Tue Jun 22 18:49:59 2010 +0000 +++ b/.bash_aliases Tue Jun 22 20:54:43 2010 +0000 @@ -91,12 +91,16 @@ # Functions update_toodledo() { case `hostname -s` in - xanadu|rapture|syrinx) - TOODLEDO_CMDS="toodledo tasks *Work; toodledo tasks *Personal" + xanadu|syrinx) + TOODLEDO_CMDS="toodledo tasks @Work; toodledo tasks @Anywhere" ;; milton) - TOODLEDO_CMDS="toodledo tasks *Home; toodledo tasks *Personal" + TOODLEDO_CMDS="toodledo tasks @Home; toodledo tasks @Anywhere" + ;; + + rapture) + TOODLEDO_CMDS="toodledo tasks @Anywhere" ;; esac @@ -112,7 +116,7 @@ echo "To-do list as of `date`" > $HOME/.todo echo "---------------------------------------------" >> $HOME/.todo egrep '^<[0-9]+>' $HOME/.todo.$$ | egrep '#\[[0-9]+/[0-9]+/[0-9]+' | sort -k 5.3 >> $HOME/.todo - egrep '^<[0-9]+>' $HOME/.todo.$$ | egrep -v '(#\[[0-9]+/[0-9]+/[0-9]+|status\[\])' >> $HOME/.todo + egrep '^<[0-9]+>' $HOME/.todo.$$ | egrep -v '(#\[[0-9]+/[0-9]+/[0-9]+|status\[(Delegated|Waiting|Hold|Postponed|Someday|Canceled|Reference)\])' >> $HOME/.todo rm $HOME/.todo.$$ }