aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorNeodarZ <neodarz@neodarz.net>2017-08-23 21:10:30 +0200
committerNeodarZ <neodarz@neodarz.net>2017-08-23 21:10:30 +0200
commitf7b09bc79a7eb416e2212aaacbde56f7b0fac150 (patch)
tree675d01bfb97fdb9ef65ab22d716cb19be06f435f /scripts
parentb1fa91fbbe7629e0cdca241c8eff0be953cf75b3 (diff)
downloaddotfiles_ascii-f7b09bc79a7eb416e2212aaacbde56f7b0fac150.tar.xz
dotfiles_ascii-f7b09bc79a7eb416e2212aaacbde56f7b0fac150.zip
Add ability to done multi task and auto remove next tag
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