1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-02 22:11:54 +02:00

Bernd Zeimetz: 27931: completion for bts affects.

This commit is contained in:
Clint Adams 2010-04-28 12:16:59 +00:00
parent edc01c0455
commit b4014f00a6
2 changed files with 16 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2010-04-28 Clint Adams <clint@zsh.org>
* Bernd Zeimetz: 27931: Completion/Debian/Command/_bts:
completion for bts affects.
2010-04-28 Peter Stephenson <pws@csr.com> 2010-04-28 Peter Stephenson <pws@csr.com>
* Mikael: 27929: Src/lex.c, Doc/Zsh/options.yo (added pws): global * Mikael: 27929: Src/lex.c, Doc/Zsh/options.yo (added pws): global
@ -13086,5 +13091,5 @@
***************************************************** *****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL * This is used by the shell to define $ZSH_PATCHLEVEL
* $Revision: 1.4969 $ * $Revision: 1.4970 $
***************************************************** *****************************************************

View file

@ -26,7 +26,7 @@ if [[ CURRENT -eq 1 ]]; then
reassign merge unmerge tag tags severity forwarded notforwarded help \ reassign merge unmerge tag tags severity forwarded notforwarded help \
clone submitter found notfound block unblock user usertag usertags \ clone submitter found notfound block unblock user usertag usertags \
package owner noowner reportspam cache cleancache claim unclaim \ package owner noowner reportspam cache cleancache claim unclaim \
subscribe unsubscribe fixed notfixed subscribe unsubscribe fixed notfixed affects
return return
fi fi
@ -216,6 +216,15 @@ case "$words[1]" in
_wanted sep expl 'separator' compadd -S ' ' , . _wanted sep expl 'separator' compadd -S ' ' , .
fi 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) help)
;& ;&
*) _wanted sep expl 'separator' compadd -S ' ' , . *) _wanted sep expl 'separator' compadd -S ' ' , .