about summary refs log tree commit diff
path: root/Completion/Debian
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Debian')
-rw-r--r--Completion/Debian/Type/_deb_packages2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Debian/Type/_deb_packages b/Completion/Debian/Type/_deb_packages
index 090c9c6b6..8ddf0e959 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 --generate pkgnames)"}
+      ${(f)"$(apt-cache --generate pkgnames 2>/dev/null)"}
     )
 
     _store_cache DEBS_avail _deb_packages_cache_avail