changeset 43:0a7d093f4c04

* Changed Toodledo sorts/greps based on context, not folder * After fixing status, removing deferred tasks will work wherever it's grepped.
author huston@80426f53-59d1-405d-934b-f07cd76f4a1a
date Tue, 22 Jun 2010 20:54:43 +0000
parents 998337c2b6f2
children 0fc97adb3d7a
files .bash_aliases
diffstat 1 files changed, 8 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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.$$
 }