summaryrefslogtreecommitdiff
path: root/helpers/info
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/info')
-rwxr-xr-xhelpers/info6
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