aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/.scripts/tdone2
1 files changed, 2 insertions, 0 deletions
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