Add simple by day-of-week statistics

This commit is contained in:
Nikolay Puzanov
2018-11-28 12:06:46 +03:00
parent 6c647806b4
commit 41f8f43ce5
4 changed files with 87 additions and 5 deletions

View File

@@ -13,13 +13,13 @@ _timer() {
case "$state" in
(command)
# Commands
_arguments '1:commands:(start stop report deadline archive unarch refresh timesheet help)'
_arguments '1:commands:(start stop report stats deadline archive unarch refresh timesheet help)'
;;
(arg1)
# Command argument 1
case $words[2] in
(start|archive)
(start|archive|stats)
compadd $(timer tasklist)
;;
(report|timesheet)