diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-09-15 12:45:09 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-09-15 12:45:09 +0200 |
commit | d337d13182d98f5de9c4d436c24ba979485c4339 (patch) | |
tree | ae7ff26d897066d183d185fbf9247ac98aeb79bb | |
parent | e0792ae745dfacbf858268f062d5779de3d1bc9e (diff) |
info: Show gtd-waiting for current location
-rwxr-xr-x | helpers/info | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/helpers/info b/helpers/info index 452e64e..b4b3ad3 100755 --- a/helpers/info +++ b/helpers/info @@ -1,5 +1,7 @@ #!/usr/bin/env zsh -[[ -n $commands[todo] ]] && [[ -r ~/var/gtd/todo ]] && \ +[[ -n $commands[todo] ]] && [[ -r ~/var/gtd/todo ]] && \ todo --database /home/derf/var/gtd/todo -[[ -n $commands[calendar] ]] && [[ -r ~/stuff/calendar ]] && calendar +[[ -n $commands[todo] ]] && [[ -r ~/var/gtd/waiting ]] && \ + todo --database ~/var/gtd/waiting | fgrep "$(cat /tmp/.location)" +[[ -n $commands[calendar] ]] && [[ -r ~/stuff/calendar ]] && calendar true |