From bc4ef0772060dbff10d799462bbd20d0330c3823 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 26 May 2018 11:10:19 -0300 Subject: TODO: tasks fix --- todo | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'todo') 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 -- cgit v1.2.3