diff options
| -rw-r--r-- | ChangeLog | 3 | ||||
| -rw-r--r-- | Completion/Debian/Command/_bts | 24 |
2 files changed, 15 insertions, 12 deletions
@@ -1,5 +1,8 @@ 2025-11-17 Oliver Kiddle <opk@zsh.org> + * Christopher Bock: 54080 (tweaked): Completion/Debian/Command/_bts: + update tags in bts completion + * Christopher Bock: 54084: Completion/Zsh/Command/_which: use _numbers for whence -x diff --git a/Completion/Debian/Command/_bts b/Completion/Debian/Command/_bts index 70b95ef96..8355474bc 100644 --- a/Completion/Debian/Command/_bts +++ b/Completion/Debian/Command/_bts @@ -2,6 +2,16 @@ local expl first=1 +local -a tags +tags=(patch wontfix moreinfo unreproducible help security upstream pending + confirmed ipv6 lfs d-i l10n newcomer a11y ftbfs fixed-upstream fixed + fixed-in-experimental potato woody sarge etch lenny squeeze wheezy + jessie stretch buster bullseye bookworm trixie forky duke sid + experimental sarge-ignore etch-ignore lenny-ignore squeeze-ignore + wheezy-ignore jessie-ignore stretch-ignore buster-ignore + bullseye-ignore bookworm-ignore trixie-ignore forky-ignore + duke-ignore) + _arguments -A "-*" \ '(-o --offline)'{-o,--offline}'[use cached bugs]' \ '(--online --no-offline)'{--online,--no-offline}'[do not use cached bugs]' \ @@ -92,19 +102,9 @@ case "$words[1]" in elif [[ CURRENT -eq 3 ]]; then _wanted operator expl 'operator' compadd - '+' '-' '=' elif [[ CURRENT -eq 4 ]]; then - _wanted tag expl 'tag' \ - compadd patch wontfix moreinfo unreproducible help pending \ - fixed security upstream confirmed fixed-upstream \ - fixed-in-experimental d-i ipv6 lfs l10n potato woody sarge \ - sarge-ignore etch etch-ignore lenny lenny-ignore squeeze \ - squeeze-ignore wheezy wheezy-ignore sid experimental + _wanted tags expl 'tag' compadd -a tags else - _wanted tag expl 'tag' \ - compadd patch wontfix moreinfo unreproducible help pending \ - fixed security upstream confirmed fixed-upstream \ - fixed-in-experimental d-i ipv6 lfs l10n potato woody sarge \ - sarge-ignore etch etch-ignore lenny lenny-ignore squeeze \ - squeeze-ignore wheezy wheezy-ignore sid experimental + _wanted tags expl 'tag' compadd -a tags _wanted sep expl 'separator' compadd -S ' ' , . fi ;; |
