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:
parent
eabe9ea6f8
commit
e2f9689a3b
3 changed files with 28 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
DISTFILES_SRC='
|
||||
.distfiles
|
||||
_apt
|
||||
_apt _apt-show-versions
|
||||
_bts _bug
|
||||
_debchange _dpkg _dpkg_source _dput _dupload
|
||||
_update-alternatives _make-kpkg
|
||||
|
|
21
Completion/Debian/Command/_apt-show-versions
Normal file
21
Completion/Debian/Command/_apt-show-versions
Normal 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'
|
Loading…
Reference in a new issue