diff options
Diffstat (limited to 'Completion/Debian')
-rw-r--r-- | Completion/Debian/Type/_deb_packages | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Completion/Debian/Type/_deb_packages b/Completion/Debian/Type/_deb_packages index be36c817c..cc5eaf109 100644 --- a/Completion/Debian/Type/_deb_packages +++ b/Completion/Debian/Type/_deb_packages @@ -7,7 +7,7 @@ _deb_packages_update_avail () { _cache_invalid DEBS_avail ) && ! _retrieve_cache DEBS_avail; then _deb_packages_cache_avail=( - ${(f)"$(apt-cache dumpavail | awk '/^Package:/ { print $2 }')"} + ${(f)"$(apt-cache --generate pkgnames)"} ) _store_cache DEBS_avail _deb_packages_cache_avail @@ -75,6 +75,4 @@ _deb_packages () { /var/lib/dpkg/available -nt "$1" ]] } - - _deb_packages "$@" |