diff options
author | Clint Adams <clint@users.sourceforge.net> | 2001-12-11 20:41:53 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2001-12-11 20:41:53 +0000 |
commit | 5cf4508f4260768a6e0a764e127046e79f9ce068 (patch) | |
tree | a6fccfe3981826ce553350d0dfb05c71efe48805 | |
parent | 225a0324706205240f0d12b6f8683712d21c2dca (diff) | |
download | zsh-5cf4508f4260768a6e0a764e127046e79f9ce068.tar.gz zsh-5cf4508f4260768a6e0a764e127046e79f9ce068.tar.xz zsh-5cf4508f4260768a6e0a764e127046e79f9ce068.zip |
16327: glob for udebs as well as debs
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Completion/Debian/Command/_dpkg | 30 |
2 files changed, 18 insertions, 15 deletions
diff --git a/ChangeLog b/ChangeLog index 69286fd75..18d6f6fa8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2001-12-11 Clint Adams <clint@zsh.org> + * 16326: Completion/Debian/Command/_dpkg: + glob for udebs as well as debs. + * 16326: Completion/Unix/Command/_webbrowser, Completion/X/Command/.distfiles, Completion/X/Command/_mozilla: completion for mozilla, some more web browsers in _webbrowser. diff --git a/Completion/Debian/Command/_dpkg b/Completion/Debian/Command/_dpkg index 65fd4b827..3baddaf28 100644 --- a/Completion/Debian/Command/_dpkg +++ b/Completion/Debian/Command/_dpkg @@ -7,19 +7,19 @@ typeset -A opt_args _dpkg_deb_actions=('(--build)-b[build archive]:directory:_files -/' \ '(-b)--build:directory:_files -/' \ - '(--contents)-c[list contents]:Debian package:_files -g \*.deb' \ - '(-c)--contents:Debian package:_files -g \*.deb' \ - '(--info)-I[show info]:Debian package:_files -g \*.deb' \ - '(-I)--info:Debian package:_files -g \*.deb' \ - '(--field)-f[show fields]:Debian package:_files -g \*.deb' \ - '(-f)--field:Debian package:_files -g \*.deb' \ - '(--control)-e[extract control]:Debian package:_files -g \*.deb' \ - '(-e)--control:Debian package:_files -g \*.deb' \ - '(--extract)-x[extract files]:Debian package:_files -g \*.deb' \ - '(-x)--extract:Debian package:_files -g \*.deb' \ - '(--vextract)-X[extract and list files]:Debian package:_files -g \*.deb' \ - '(-X)--vextract[extract and list]:Debian package:_files -g \*.deb' \ - '--fsys-tarfile[output fs tarfile]:Debian package:_files -g \*.deb') + '(--contents)-c[list contents]:Debian package:_files -g \*.u\#deb' \ + '(-c)--contents:Debian package:_files -g \*.u\#deb' \ + '(--info)-I[show info]:Debian package:_files -g \*.u\#deb' \ + '(-I)--info:Debian package:_files -g \*.u\#deb' \ + '(--field)-f[show fields]:Debian package:_files -g \*.u\#deb' \ + '(-f)--field:Debian package:_files -g \*.u\#deb' \ + '(--control)-e[extract control]:Debian package:_files -g \*.u\#deb' \ + '(-e)--control:Debian package:_files -g \*.u\#deb' \ + '(--extract)-x[extract files]:Debian package:_files -g \*.u\#deb' \ + '(-x)--extract:Debian package:_files -g \*.u\#deb' \ + '(--vextract)-X[extract and list files]:Debian package:_files -g \*.u\#deb' \ + '(-X)--vextract[extract and list]:Debian package:_files -g \*.u\#deb' \ + '--fsys-tarfile[output fs tarfile]:Debian package:_files -g \*.u\#deb') _dpkg_common_actions=('--help[show help]' \ '--version[show version]' \ @@ -28,7 +28,7 @@ _dpkg_common_actions=('--help[show help]' \ _dpkg_actions=('(--install)-i[install packages]:*:Debian packages:->install' \ '(-i)--install:*:Debian packages:->install' \ - '--unpack[unpack package]:Debian package:_files -g \*.deb' \ + '--unpack[unpack package]:Debian package:_files -g \*.u\#deb' \ '--configure:*:package:->configure' \ '(--remove)-r[remove package]:*:package:->remove' \ '(-r)--remove:*:package:->remove' \ @@ -115,7 +115,7 @@ case "$state" in "$_dpkg_options_recursive[@]" \ '*:directory:_path_files -/' \ - nonrecur \ - '*:Debian package:_path_files -g \*.deb' + '*:Debian package:_path_files -g \*.u\#deb' ;; remove|purge|status|listfiles) _call_function ret _dpkg_$state && return ret |