Commit 8f2fe2bb13673b4f2e925eafe7634c928ac3465b

Authored by Georg Hopp
1 parent bb631905

Allow additional filter for all tasks

Showing 1 changed file with 10 additions and 10 deletions
... ... @@ -172,24 +172,24 @@ function timesheet() {
172 172 printf " (generated at %s)\n\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n" \
173 173 "$(date)" \
174 174 "$(bold "" "Tasks completed from $start to $end (back $phrase)")" \
175   - "$(showall $(doneuuids end.after:${start}))" \
  175 + "$(showall $(doneuuids end.after:${start} $@))" \
176 176 "$(bold "" "Upcoming tasks")" \
177   - "$(showall $(pendinguuids))" \
  177 + "$(showall $(pendinguuids $@))" \
178 178 "$(bold "" "Blocked tasks")" \
179   - "$(showall $(blockeduuids))" \
  179 + "$(showall $(blockeduuids $@))" \
180 180 "$(bold "" "Blocking tasks")" \
181   - "$(showall $(blockinguuids))"
  181 + "$(showall $(blockinguuids $@))"
182 182
183 183 printf "%s%s\n\n%s%s\n%s\n\n%s\n\n%s\n" \
184 184 "$(bold "" "Summary")" \
185   - "$(task summary rc._forcecolor=on 2>/dev/null)" \
  185 + "$(task rc._forcecolor=on $@ summary 2>/dev/null)" \
186 186 "$(bold "" "History")" \
187   - "$(task history rc._forcecolor=on 2>/dev/null)" \
188   - "$(task ghistory rc._forcecolor=on 2>/dev/null)" \
189   - "$(task burndown.daily rc._forcecolor=on 2>/dev/null)" \
190   - "$(task burndown rc._forcecolor=on 2>/dev/null)"
  187 + "$(task rc._forcecolor=on $@ history 2>/dev/null)" \
  188 + "$(task rc._forcecolor=on $@ ghistory 2>/dev/null)" \
  189 + "$(task rc._forcecolor=on $@ burndown.daily 2>/dev/null)" \
  190 + "$(task rc._forcecolor=on $@ burndown 2>/dev/null)"
191 191 }
192 192
193   -timesheet
  193 +timesheet $@
194 194
195 195 # vim: set et ts=4 sw=4:
... ...
Please register or login to post a comment