diff options
author | Clint Adams <clint@users.sourceforge.net> | 2002-01-03 03:39:24 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2002-01-03 03:39:24 +0000 |
commit | e2f9689a3b5dadad62ffeefa56d83cd9b7c10e98 (patch) | |
tree | e8af406130d80a45dae5a97464a6e66b080d6328 /Completion | |
parent | eabe9ea6f8115f3f385a4407459ed574954da460 (diff) | |
download | zsh-e2f9689a3b5dadad62ffeefa56d83cd9b7c10e98.tar.gz zsh-e2f9689a3b5dadad62ffeefa56d83cd9b7c10e98.tar.xz zsh-e2f9689a3b5dadad62ffeefa56d83cd9b7c10e98.zip |
16393: completion for Christoph Martin's apt-show-versions script.
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Debian/Command/.distfiles | 2 | ||||
-rw-r--r-- | Completion/Debian/Command/_apt-show-versions | 21 |
2 files changed, 22 insertions, 1 deletions
diff --git a/Completion/Debian/Command/.distfiles b/Completion/Debian/Command/.distfiles index 3fc0c7d6a..ef104c787 100644 --- a/Completion/Debian/Command/.distfiles +++ b/Completion/Debian/Command/.distfiles @@ -1,6 +1,6 @@ DISTFILES_SRC=' .distfiles -_apt +_apt _apt-show-versions _bts _bug _debchange _dpkg _dpkg_source _dput _dupload _update-alternatives _make-kpkg diff --git a/Completion/Debian/Command/_apt-show-versions b/Completion/Debian/Command/_apt-show-versions new file mode 100644 index 000000000..b29034a97 --- /dev/null +++ b/Completion/Debian/Command/_apt-show-versions @@ -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' |