Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] _bts: Complete more argument types for 'cache' and 'show'.
- X-seq: zsh-workers 39385
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH] _bts: Complete more argument types for 'cache' and 'show'.
- Date: Mon, 19 Sep 2016 08:51:59 +0000
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=date:from:in-reply-to:message-id :references:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=+pTqO 5J2pjOAJfXlnzXrJMeCksM=; b=fxHzlMjIL43pBwSnJ78GM+/dRX1JfIEWC89lL A6yS5Sjk3fvwOaMYv7mp79Hl73jHbwvRREpAsd3St2rCAYftfaokll85kdtrVEon uooJR3+vC9ag7SHRX/WfkY2QDRSLBQ2YuK5KqayC+u73Xqx3FHlGkTOC82Mkwe3H uEmdnk=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:from:in-reply-to:message-id :references:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=+pTq O5J2pjOAJfXlnzXrJMeCksM=; b=jmS9JpRVzy9qbKzszfESL0OiFVbbwZwZR7mO JyQPO3uix8zsIJDDvOP1SiEvWN5nAwa52b/QATeVXlJhDFknmip1IrSw6MDWC6Rs Xz6RanyVLVOASZ5LMJEoZRzPssGaA31leEi5Agby1oTyN+TkJJJpbIv9iQ/49/QW Z3yW29E=
- In-reply-to: <20160919070022.GA3868@fujitsu.shahaf.local2>
- 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
- References: <20160919070022.GA3868@fujitsu.shahaf.local2>
---
Completion/Debian/Command/_bts | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/Completion/Debian/Command/_bts b/Completion/Debian/Command/_bts
index 75085a9..d7aac9e 100644
--- a/Completion/Debian/Command/_bts
+++ b/Completion/Debian/Command/_bts
@@ -41,8 +41,9 @@ case "$words[1]" in
(show|bugs)
if [[ CURRENT -eq 2 ]]; then
_alternative \
- 'packages:package:_deb_packages avail' \
- 'emails:package maintainer:compadd $DEBEMAIL'
+ 'packages:package:_deb_packages avail' \
+ 'emails:package maintainer:compadd $DEBEMAIL' \
+ 'bugnum:bug number:_debbugs_bugnumber'
else
_wanted sep expl 'separator' compadd -S ' ' , .
fi
@@ -199,8 +200,10 @@ case "$words[1]" in
;;
(cache)
_alternative \
- 'package:package:_deb_packages avail' \
- 'email:email address:_email_addresses -c' \
+ 'source-packages:source package:_deb_packages -P "src:" source' \
+ 'package:binary package:_deb_packages avail' \
+ 'email:email address:_email_addresses -c -P "from:"' \
+ 'bugnum:bug number:_debbugs_bugnumber' \
'rc:rc:compadd release-critical'
;;
(cleancache)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author