diff options
author | Clint Adams <clint@users.sourceforge.net> | 2007-07-06 23:55:09 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2007-07-06 23:55:09 +0000 |
commit | 25ded6226c4922ccded0432552689ac95ae574b5 (patch) | |
tree | 386b6e1a707d4949e66f6cbc3b04ccd40b2698a6 | |
parent | 1b52f47cf285d5f3835bce7ad73f360bd327d4e8 (diff) | |
download | zsh-25ded6226c4922ccded0432552689ac95ae574b5.tar.gz zsh-25ded6226c4922ccded0432552689ac95ae574b5.tar.xz zsh-25ded6226c4922ccded0432552689ac95ae574b5.zip |
23666: redirect stderr from apt-cache --generate pkgnames to /dev/null.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | Completion/Debian/Type/_deb_packages | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 8b31cf24f..eb67ec1cb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-07-06 Clint Adams <clint@zsh.org> + + * 23666: Completion/Debian/Type/_deb_packages: + redirect stderr from apt-cache --generate pkgnames to + /dev/null. + 2007-07-06 Peter Stephenson <p.w.stephenson@ntlworld.com> * 23665: Doc/Zsh/builtins.yo, 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 |