Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] Added some arguments autocompletion to _todo.sh.
- X-seq: zsh-workers 41618
- From: _RuRo_ <ruro.ruro@xxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH] Added some arguments autocompletion to _todo.sh.
- Date: Mon, 28 Aug 2017 20:24:56 +0300
- Authentication-results: smtp1o.mail.yandex.net; dkim=pass header.i=@ya.ru
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ya.ru; s=mail; t=1503941097; bh=yIwqDT4wp6qcEV8k9lePNMVN2jcGHW2ul9HxVl8aPOM=; h=Date:From:To:Subject:Message-ID; b=WO5MGXnTTNINOcOaU5IoCUq85Wj3vwFZVDPSZjEP8QvfdaJRbB1oaIayodj8K2Q3c 9X7FqPevkacj3ZbrEXDy9KVr3cSM6Mn595XwxOWSNsKGh1iQSr6/HjcXCcTfEX1T8W rHo5qguVm36NRgRXSXRY6xeH2qYhFKmdyVtlnti0=
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ya.ru; s=mail; t=1503941096; bh=yIwqDT4wp6qcEV8k9lePNMVN2jcGHW2ul9HxVl8aPOM=; h=Date:From:To:Subject:Message-ID; b=hkeg/3WzfQqIXG4X34Z6gzWfBnbLLD3Vt0uWghFbQxnvWKHG/n6PtT/8Vzx4UIaq4 Vt1KO+ICE5yZ1SyhVh7jxViUbO+razlQDBCXc9a7ppMyz6J1bHWe1Ijq+Wx8GqM0Ft 9/I58i7gdc9f+EAnYco/oora9AfXb1U28aG2E2WU=
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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