From: _RuRo_ <ruro.ruro@ya.ru>
To: zsh-workers@zsh.org
Subject: [PATCH] Added some arguments autocompletion to _todo.sh.
Date: Mon, 28 Aug 2017 20:24:56 +0300 [thread overview]
Message-ID: <20170828172455.4mfzffrir734dnfl@yandex.ru> (raw)
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@ya.ru
next reply other threads:[~2017-08-29 0:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-28 17:24 _RuRo_ [this message]
2017-08-29 1:59 ` Daniel Shahaf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170828172455.4mfzffrir734dnfl@yandex.ru \
--to=ruro.ruro@ya.ru \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).