about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Debian/Type/_deb_packages2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 576002a4c..43d55c259 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2004-01-09  Clint Adams  <clint@zsh.org>
 
+	* 20655: Completion/Debian/Type/_deb_packages:
+	_deb_packages fix from Karl Chen.
+
 	* 20654: Completion/Debian/Command/_dpkg,
 	Completion/Debian/Command/_wajig,
 	Completion/Debian/Type/_deb_packages: completion for wajig, and
diff --git a/Completion/Debian/Type/_deb_packages b/Completion/Debian/Type/_deb_packages
index 854570200..78bc964de 100644
--- a/Completion/Debian/Type/_deb_packages
+++ b/Completion/Debian/Type/_deb_packages
@@ -86,7 +86,7 @@ _deb_packages () {
     zstyle ":completion:*:*:$service:*" cache-policy _debs_caching_policy
   fi
 
-  [[ "$command" = (installed|deinstalled|xinstalled|held|uninstalled|avail) ]] || {
+  [[ "$command" = (installed|deinstalled|xinstalled|held|uninstalled|avail|available) ]] || {
     _message "unknown command: $command"
     return
   }