From 369345880d00ef2091c644465e0da41dad8c273f Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Thu, 12 Jan 2023 22:55:18 +0100 Subject: [PATCH] taskwarrior: Extend active task listing alias Extended active task listing to show both the active task from taskwarrior, but also any currently 'tracking' task from timewarrior. Ideally, those should be the same - but if they mismatch or timwarrrior is not correctly tracking the active task, this is still good information to have at a glance. --- office/.config/sh/alias.d/taskwarrior.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/office/.config/sh/alias.d/taskwarrior.sh b/office/.config/sh/alias.d/taskwarrior.sh index 96ac796..99a8262 100644 --- a/office/.config/sh/alias.d/taskwarrior.sh +++ b/office/.config/sh/alias.d/taskwarrior.sh @@ -26,7 +26,11 @@ alias tan="task annotate" alias tn="task next +READY" alias tun="task next urgency \> 4" -alias tra="task active" +if exist timew; then + alias tra="task active && timew" +else + alias tra="task active" +fi alias trw="task end.after:today-1wk completed" alias tad="task +ACTIVE done"