diff options
| author | Clint Adams <clint@users.sourceforge.net> | 2005-01-09 06:23:51 +0000 |
|---|---|---|
| committer | Clint Adams <clint@users.sourceforge.net> | 2005-01-09 06:23:51 +0000 |
| commit | 52a5481b1acdf7695bbbc4cc6cd20e146ab9c5be (patch) | |
| tree | 629b06e6e06e023ca0004e709ac6c7f8509649eb /Completion/Debian/Command/_dpkg | |
| parent | * 20650: completion for mencal. (diff) | |
| download | zsh-52a5481b1acdf7695bbbc4cc6cd20e146ab9c5be.tar zsh-52a5481b1acdf7695bbbc4cc6cd20e146ab9c5be.tar.gz zsh-52a5481b1acdf7695bbbc4cc6cd20e146ab9c5be.tar.bz2 zsh-52a5481b1acdf7695bbbc4cc6cd20e146ab9c5be.tar.lz zsh-52a5481b1acdf7695bbbc4cc6cd20e146ab9c5be.tar.xz zsh-52a5481b1acdf7695bbbc4cc6cd20e146ab9c5be.tar.zst zsh-52a5481b1acdf7695bbbc4cc6cd20e146ab9c5be.zip | |
* 20654: completion for wajig, and dpkg/deb_packages improvements from Karl Chen.
Diffstat (limited to 'Completion/Debian/Command/_dpkg')
| -rw-r--r-- | Completion/Debian/Command/_dpkg | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Completion/Debian/Command/_dpkg b/Completion/Debian/Command/_dpkg index f098e8a88..7ad3da4ba 100644 --- a/Completion/Debian/Command/_dpkg +++ b/Completion/Debian/Command/_dpkg @@ -113,11 +113,16 @@ case "$state" in - nonrecur \ '*:Debian package:_path_files -g "*.deb(-.)"' ;; - remove|purge|status|listfiles) + remove|status|listfiles) _call_function ret _dpkg_$state && return ret _arguments -C -A "-*" -s "$_dpkg_options[@]" \ '*:package:_deb_packages installed' ;; + purge) + _call_function ret _dpkg_$state && return ret + _arguments -C -A "-*" -s "$_dpkg_options[@]" \ + '*:package:_deb_packages xinstalled' + ;; list) _call_function ret _dpkg_$state && return ret _arguments -C -A "-*" -s "$_dpkg_options[@]" \ |
