mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-02-01 15:32:12 +01:00
23666: redirect stderr from apt-cache --generate pkgnames to /dev/null.
This commit is contained in:
parent
1b52f47cf2
commit
25ded6226c
2 changed files with 7 additions and 1 deletions
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue