Package: zsh
Version: 5.2-2
Severity: minor
Tags: patch

The apt completion is missing purge and autoremove commands. Attached
patch adds them.


Saludos

-- Package-specific info:

Packages which provide vendor completions:

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                       Version                    
Architecture               Description
+++-==========================================-==========================-==========================-=========================================================================================
ii  awscli                                     1.9.9-2                    all   
                     Universal Command Line Environment for AWS
ii  docker-compose                             1.5.2-1                    all   
                     Punctual, lightweight development environments using Docker
ii  docker.io                                  1.8.3~ds1-2                amd64 
                     Linux container runtime
ii  git-buildpackage                           0.7.0                      all   
                     Suite to help with Debian packages in Git repositories
ii  mpv                                        0.12.0-1                   amd64 
                     video player based on MPlayer/mplayer2
ii  pulseaudio                                 7.1-2                      amd64 
                     PulseAudio sound server
ii  reprepro                                   4.16.0-1                   amd64 
                     Debian package repository producer
ii  systemd                                    228-2                      amd64 
                     system and service manager
ii  systemd-container                          228-2                      amd64 
                     systemd container/nspawn tools
ii  systemd-coredump                           228-2                      amd64 
                     tools for storing and retrieving coredumps
ii  udev                                       228-2                      amd64 
                     /dev/ and hotplug management daemon
ii  vcsh                                       1.20150502-1               all   
                     Version Control System for $HOME - multiple Git 
repositories in $HOME
ii  vlc-nox                                    2.2.1-5+b1                 amd64 
                     multimedia player and streamer (without X support)

The following files were modified:

/etc/systemd/journald.conf
/etc/pulse/daemon.conf
/etc/pulse/default.pa
/etc/default/docker

dpkg-query: no path found matching pattern /usr/share/zsh/vendor-functions/


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages zsh depends on:
ii  dpkg        1.18.3
ii  libc6       2.21-4
ii  libcap2     1:2.24-12
ii  libtinfo5   6.0+20151024-2
ii  zsh-common  5.2-2

Versions of packages zsh recommends:
ii  libncursesw5  6.0+20151024-2
ii  libpcre3      2:8.35-8

Versions of packages zsh suggests:
pn  zsh-doc  <none>

-- no debconf information
--- /usr/share/zsh/functions/Completion/Debian/_apt	2015-12-03 20:44:53.000000000 -0300
+++ .zsh/functions/_apt	2015-12-18 12:36:49.326848831 -0300
@@ -407,10 +407,12 @@
     /$'install\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" avail' \# \
     /$'[^\0/]#/'/ /$'[^\0/]#\0'/ ':release name::_apt_releases' \) \| \
     /$'remove\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" installed' \# \| \
+    /$'purge\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" installed' \# \| \
     /$'upgrade\0'/ \| \
+    /$'autoremove\0'/ \| \
     /$'full-upgrade\0'/ \| \
     /$'edit-sources\0'/ \| \
-    /"[]"/	':argument-1::compadd "$expl_action[@]" list search show update install remove upgrade full-upgrade edit-sources'
+    /"[]"/	':argument-1::compadd "$expl_action[@]" list search show update install remove upgrade full-upgrade edit-sources autoremove purge'
 
   _apt-cmd () {
     local expl_action expl_packages

Reply via email to