From: Silvio Rhatto Date: Sat, 26 May 2018 14:10:19 +0000 (-0300) Subject: TODO: tasks fix X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=bc4ef0772060dbff10d799462bbd20d0330c3823;p=scripts.git TODO: tasks fix --- 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