From f7b09bc79a7eb416e2212aaacbde56f7b0fac150 Mon Sep 17 00:00:00 2001 From: NeodarZ Date: Wed, 23 Aug 2017 21:10:30 +0200 Subject: Add ability to done multi task and auto remove next tag --- scripts/.scripts/tdone | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts/.scripts') diff --git a/scripts/.scripts/tdone b/scripts/.scripts/tdone index 35fe01d..d63fd87 100755 --- a/scripts/.scripts/tdone +++ b/scripts/.scripts/tdone @@ -20,6 +20,8 @@ elif [[ $1 == "month" ]]; then task end.after:socm completed elif [[ $1 == "week" ]]; then task end.after:socw completed +elif [[ $@ =~ ^[[:digit:][:space:]]*$ ]]; then + task modify -next $@; task done $@ elif [[ $1 == "-h" ]]; then usage else -- cgit v1.2.1