diff options
| author | Oliver Kiddle <opk@zsh.org> | 2014-10-14 23:03:40 +0200 |
|---|---|---|
| committer | Oliver Kiddle <opk@zsh.org> | 2014-10-14 23:04:45 +0200 |
| commit | 13fc579343b24d298fb8905933b6000d7fcda114 (patch) | |
| tree | cbc1000696357438714107635f93166bcab76d3a /Completion/Debian/Command/_bts | |
| parent | 33459: test for variable substitution in variable splitting (diff) | |
| download | zsh-13fc579343b24d298fb8905933b6000d7fcda114.tar zsh-13fc579343b24d298fb8905933b6000d7fcda114.tar.gz zsh-13fc579343b24d298fb8905933b6000d7fcda114.tar.bz2 zsh-13fc579343b24d298fb8905933b6000d7fcda114.tar.lz zsh-13fc579343b24d298fb8905933b6000d7fcda114.tar.xz zsh-13fc579343b24d298fb8905933b6000d7fcda114.tar.zst zsh-13fc579343b24d298fb8905933b6000d7fcda114.zip | |
33467: correct return status on functions and numerous other minor fixes
Diffstat (limited to 'Completion/Debian/Command/_bts')
| -rw-r--r-- | Completion/Debian/Command/_bts | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Completion/Debian/Command/_bts b/Completion/Debian/Command/_bts index 4907d15c1..9f1f77bf4 100644 --- a/Completion/Debian/Command/_bts +++ b/Completion/Debian/Command/_bts @@ -40,10 +40,12 @@ case "$words[1]" in ;; (show|bugs) if [[ CURRENT -eq 2 ]]; then - _wanted package expl 'package' _deb_packages avail - _wanted maintainer expl 'package maintainer' compadd $DEBEMAIL + _alternative \ + 'packages:package:_deb_packages avail' \ + "emails:package maintainer:compadd $DEBEMAIL" + else + _wanted sep expl 'separator' compadd -S ' ' , . fi - _wanted sep expl 'separator' compadd -S ' ' , . ;; reopen) if [[ CURRENT -eq 2 ]]; then |
