* Re: Bug#579529: zsh: bts completion is missing "affects"
[not found] <20100428111712.32294.24083.reportbug@think.mg.bzed.de>
@ 2010-04-28 12:14 ` Clint Adams
0 siblings, 0 replies; only message in thread
From: Clint Adams @ 2010-04-28 12:14 UTC (permalink / raw)
To: Bernd Zeimetz, 579529; +Cc: zsh-workers
On Wed, Apr 28, 2010 at 01:17:12PM +0200, Bernd Zeimetz wrote:
> the completion for `bts` does not support "affects". The attached
> *untested* patch should fix that.
Thanks.
Index: Completion/Debian/Command/_bts
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Debian/Command/_bts,v
retrieving revision 1.12
diff -u -r1.12 _bts
--- Completion/Debian/Command/_bts 10 Jul 2009 23:54:30 -0000 1.12
+++ Completion/Debian/Command/_bts 28 Apr 2010 12:13:37 -0000
@@ -26,7 +26,7 @@
reassign merge unmerge tag tags severity forwarded notforwarded help \
clone submitter found notfound block unblock user usertag usertags \
package owner noowner reportspam cache cleancache claim unclaim \
- subscribe unsubscribe fixed notfixed
+ subscribe unsubscribe fixed notfixed affects
return
fi
@@ -216,6 +216,15 @@
_wanted sep expl 'separator' compadd -S ' ' , .
fi
;;
+ (affects)
+ if [[ CURRENT -eq 2 ]]; then
+ _message -e bugnum 'bug number'
+ elif [[ CURRENT -eq 3 ]]; then
+ _wanted operator expl 'operator' compadd - '+' '-' '='
+ else
+ _wanted package expl 'package' _deb_packages avail
+ fi
+ ;;
help)
;&
*) _wanted sep expl 'separator' compadd -S ' ' , .
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-04-28 12:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20100428111712.32294.24083.reportbug@think.mg.bzed.de>
2010-04-28 12:14 ` Bug#579529: zsh: bts completion is missing "affects" Clint Adams
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).