Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: _deb_packages cache problem



_deb_packages was testing a wrong variable for cache.

Index: Completion/Debian/_deb_packages
===================================================================
RCS file: /projects/zsh/zsh/Completion/Debian/_deb_packages,v
retrieving revision 1.1.1.8
diff -u -r1.1.1.8 _deb_packages
--- Completion/Debian/_deb_packages	2000/02/03 17:22:43	1.1.1.8
+++ Completion/Debian/_deb_packages	2000/02/05 06:54:52
@@ -3,7 +3,7 @@
 # Usage: _deb_packages expl... avail|installed|uninstalled
 
 _deb_packages_update_avail () {
-  if (( ! $+_deb_packages_cache_uninstalled )); then
+  if (( ! $+_deb_packages_cache_avail )); then
     _deb_packages_cache_avail=(
       ${(f)"$(apt-cache dumpavail | awk '/^Package:/ { print $2 }')"}
     )
-- 
Tanaka Akira



Messages sorted by: Reverse Date, Date, Thread, Author