1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-11 20:31:11 +01:00

16393: completion for Christoph Martin's apt-show-versions script.

This commit is contained in:
Clint Adams 2002-01-03 03:39:24 +00:00
parent eabe9ea6f8
commit e2f9689a3b
3 changed files with 28 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2002-01-03 Clint Adams <clint@zsh.org>
* 16393: Completion/Debian/Command/.distfiles,
Completion/Debian/Command/_apt-show-versions: completion for Christoph
Martin's apt-show-versions script.
2002-01-02 Oliver Kiddle <opk@zsh.org>
* users/4561: Completion/Unix/Command/_zip: fix bug with finding

View file

@ -1,6 +1,6 @@
DISTFILES_SRC='
.distfiles
_apt
_apt _apt-show-versions
_bts _bug
_debchange _dpkg _dpkg_source _dput _dupload
_update-alternatives _make-kpkg

View file

@ -0,0 +1,21 @@
#compdef apt-show-versions
_arguments \
'(--status-file)-stf[status file]:status file:_files' \
'(-stf)--status-file=:status file:_files' \
'(--list-dir)-ld[aptlist dir]:aptlist dir:_files -/' \
'(-ld)--list-dir=:aptlist dir:_files -/' \
'(--package)-p[package]:package:_deb_packages avail' \
'(-p)--package=:package:_deb_packages avail' \
'(--regex)-r[regex]' \
'(-r)--regex' \
'(--upgradeable)-u[print only upgradeable packages]' \
'(-u)--upgradeable' \
'(--allversions)-a[print all available versions]' \
'(-a)--allversions' \
'(--brief)-b[brief output]' \
'(-b)--brief' \
'(--verbose)-v[verbose output]' \
'(-v)--verbose' \
'(--help)-h[help]' \
'(-h)--help'