aboutsummaryrefslogtreecommitdiff
path: root/todo
diff options
context:
space:
mode:
Diffstat (limited to 'todo')
-rwxr-xr-xtodo14
1 files changed, 14 insertions, 0 deletions
diff --git a/todo b/todo
index 568809b..42aaf19 100755
--- a/todo
+++ b/todo
@@ -38,6 +38,20 @@ function todo_find {
function todo_list {
local status="$1"
+ # Taskwarrior
+ if which task &> /dev/null; then
+ echo "taskwarrior:"
+ echo ""
+ task list 2> /dev/null
+ echo ""
+ fi
+
+ # Timewarrior
+ if which timew &> /dev/null; then
+ timew | grep -v "^There is no active time tracking."
+ echo ""
+ fi
+
todo_find | while read todo; do
if [ "$todo" != "$NAME" ]; then
if [ ! -z "$status" ] && ! grep -q "\($status\)" $todo; then