aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtodo7
1 files changed, 6 insertions, 1 deletions
diff --git a/todo b/todo
index a774528..5cf79d1 100755
--- a/todo
+++ b/todo
@@ -49,7 +49,12 @@ function todo_list {
fi
# Taskwarrior data from projects
- SILENT=true tasks +$status list
+ if [ ! -z "$status" ]; then
+ taskstatus="+$status"
+ SILENT="true"
+ fi
+
+ SILENT=$SILENT tasks $taskstatus list
echo ""
# User's Timewarrior