From f59b6f6df3f3de609b261de41dcfb6029c4d523b Mon Sep 17 00:00:00 2001 From: DCsunset Date: Sun, 29 Nov 2020 21:22:17 +0800 Subject: github #66: Add more commands to _todo.sh --- ChangeLog | 3 +++ Completion/Unix/Command/_todo.sh | 7 ++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 2949b72a2..1c7ee05a1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2021-02-07 Oliver Kiddle + * github #66: DCsunset: Completion/Unix/Command/_todo.sh: + Add more commands to _todo.sh + * github #63: oxiedi@yandex.ru: Completion/Base/Utility/_values: fix regression caused by 44274, with sort style -o may be passed diff --git a/Completion/Unix/Command/_todo.sh b/Completion/Unix/Command/_todo.sh index 287c9ff78..99b6bb695 100644 --- a/Completion/Unix/Command/_todo.sh +++ b/Completion/Unix/Command/_todo.sh @@ -55,21 +55,26 @@ case $state in "append:adds to item on line NUMBER the text TEXT." "archive:moves done items from todo.txt to done.txt." "command:run internal commands only" + "deduplicate:removes duplicate lines from todo.txt." "del:deletes the item on line NUMBER in todo.txt." "depri:remove prioritization from item" + "done:marks task(s) on line ITEM# as done in todo.txt" "do:marks item on line NUMBER as done in todo.txt." "help:display help" "list:displays all todo items containing TERM(s), sorted by priority." "listall:displays items including done ones containing TERM(s)" + "listaddons:lists all added and overridden actions in the actions directory." "listcon:list all contexts" "listfile:display all files in .todo directory" "listpri:displays all items prioritized at PRIORITY." + "listproj:lists all the projects in todo.txt." "move:move item between files" "prepend:adds to the beginning of the item on line NUMBER text TEXT." "pri:adds or replace in NUMBER the priority PRIORITY (upper case letter)." "replace:replace in NUMBER the TEXT." "remdup:remove exact duplicates from todo.txt." "report:adds the number of open and done items to report.txt." + "showhelp:list the one-line usage of all built-in and add-on actions." ) _describe -t todo-commands 'todo.sh command' cmdlist ;; @@ -98,7 +103,7 @@ case $state in fi ;; - (depri|do|dp) + (depri|do|dp|done) nextstate=item ;; -- cgit 1.4.1