summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
authorАндрей Стоцкий (_RuRo_) <ruro.ruro@ya.ru>2017-08-28 20:24:56 +0300
committerDaniel Shahaf <d.s@daniel.shahaf.name>2017-08-29 01:56:17 +0000
commit8b4d2329c71377fcab7d73bc0656094557c720a9 (patch)
tree858ce13be56f8ee127c674bf92dae42ae53bca17 /Completion/Unix/Command
parent386eb378a758370360c3455aa983db416e505c8b (diff)
downloadzsh-8b4d2329c71377fcab7d73bc0656094557c720a9.tar.gz
zsh-8b4d2329c71377fcab7d73bc0656094557c720a9.tar.xz
zsh-8b4d2329c71377fcab7d73bc0656094557c720a9.zip
41618: Added some arguments autocompletion to _todo.sh.
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_todo.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_todo.sh b/Completion/Unix/Command/_todo.sh
index eb0be55e5..287c9ff78 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[don't 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[don't 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