Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[PATCH] Added some arguments autocompletion to _todo.sh.



The information for these arguments can also be found in `todo.sh help`.
---
 Completion/Unix/Command/_todo.sh | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/Completion/Unix/Command/_todo.sh b/Completion/Unix/Command/_todo.sh
index eb0be55e5..267262e25 100644
--- a/Completion/Unix/Command/_todo.sh
+++ b/Completion/Unix/Command/_todo.sh
@@ -17,12 +17,24 @@ local -a cmdlist itemlist match mbegin mend
 integer NORMARG
 
 _arguments -s -n : \
+  '-@[hide context names]' \
+  '-\+[hide project names]' \
+  '-c[color mode]' \
   '-d[alternate config file]:config file:_files' \
   '-f[force, no confirmation]' \
   '-h[display help]' \
   '-p[plain mode, no colours]' \
+  '-P[hide priority labels]' \
+  '-a[dont auto-archive tasks when done]' \
+  '-A[auto-archive tasks when done]' \
+  '-n[automatically remove blank lines]' \
+  '-N[preserve line numbers]' \
+  '-t[add current date to task on creation]' \
+  '-T[dont add current date to task]' \
   '-v[verbose mode, confirmation messages]' \
+  '-vv[extra verbose (debug)]' \
   '-V[display version etc.]' \
+  '-x[disable final filter]' \
   '1:command:->commands' \
   '*:arguments:->arguments' && return 0
 
-- 
_RuRo_ (Андрей Стоцкий)

ruro.ruro@xxxxx



Messages sorted by: Reverse Date, Date, Thread, Author