diff options
author | NeodarZ <neodarz@neodarz.net> | 2017-08-23 21:10:30 +0200 |
---|---|---|
committer | NeodarZ <neodarz@neodarz.net> | 2017-08-23 21:10:30 +0200 |
commit | f7b09bc79a7eb416e2212aaacbde56f7b0fac150 (patch) | |
tree | 675d01bfb97fdb9ef65ab22d716cb19be06f435f | |
parent | b1fa91fbbe7629e0cdca241c8eff0be953cf75b3 (diff) | |
download | dotfiles_ascii-f7b09bc79a7eb416e2212aaacbde56f7b0fac150.tar.xz dotfiles_ascii-f7b09bc79a7eb416e2212aaacbde56f7b0fac150.zip |
Add ability to done multi task and auto remove next tag
-rwxr-xr-x | scripts/.scripts/tdone | 2 |
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 |