mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-11 13:01:28 +02:00
39385: _bts: Complete more argument types for 'cache' and 'show'.
This commit is contained in:
parent
2c612c5ba1
commit
7c93ba46d2
2 changed files with 10 additions and 4 deletions
|
@ -1,5 +1,8 @@
|
||||||
2016-09-20 Daniel Shahaf <d.s@daniel.shahaf.name>
|
2016-09-20 Daniel Shahaf <d.s@daniel.shahaf.name>
|
||||||
|
|
||||||
|
* 39385: Completion/Debian/Command/_bts: Complete more argument
|
||||||
|
types for 'cache' and 'show'.
|
||||||
|
|
||||||
* 39383: Src/Zle/compcore.c: compadd: Restrict previous patch
|
* 39383: Src/Zle/compcore.c: compadd: Restrict previous patch
|
||||||
to the case where $PREFIX includes characters both from the -P
|
to the case where $PREFIX includes characters both from the -P
|
||||||
prefix and from the (unprefixed) candidate completion word.
|
prefix and from the (unprefixed) candidate completion word.
|
||||||
|
|
|
@ -42,7 +42,8 @@ case "$words[1]" in
|
||||||
if [[ CURRENT -eq 2 ]]; then
|
if [[ CURRENT -eq 2 ]]; then
|
||||||
_alternative \
|
_alternative \
|
||||||
'packages:package:_deb_packages avail' \
|
'packages:package:_deb_packages avail' \
|
||||||
'emails:package maintainer:compadd $DEBEMAIL'
|
'emails:package maintainer:compadd $DEBEMAIL' \
|
||||||
|
'bugnum:bug number:_debbugs_bugnumber'
|
||||||
else
|
else
|
||||||
_wanted sep expl 'separator' compadd -S ' ' , .
|
_wanted sep expl 'separator' compadd -S ' ' , .
|
||||||
fi
|
fi
|
||||||
|
@ -199,8 +200,10 @@ case "$words[1]" in
|
||||||
;;
|
;;
|
||||||
(cache)
|
(cache)
|
||||||
_alternative \
|
_alternative \
|
||||||
'package:package:_deb_packages avail' \
|
'source-packages:source package:_deb_packages -P "src:" source' \
|
||||||
'email:email address:_email_addresses -c' \
|
'package:binary package:_deb_packages avail' \
|
||||||
|
'email:email address:_email_addresses -c -P "from:"' \
|
||||||
|
'bugnum:bug number:_debbugs_bugnumber' \
|
||||||
'rc:rc:compadd release-critical'
|
'rc:rc:compadd release-critical'
|
||||||
;;
|
;;
|
||||||
(cleancache)
|
(cleancache)
|
||||||
|
|
Loading…
Reference in a new issue