about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--Completion/Zsh/Type/_command_names2
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 244b58e54..394154a0e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,11 @@
 	* 28889: Src/subst.c, Test/D04parameter.ztst: ${##} should
 	return the length of $#.
 
+2011-03-11  Barton E. Schaefer  <schaefer@zsh.org>
+
+	* Greg Klanderman: 28887: Completion/Zsh/Type/_command_names:
+	fix quoting in defs array.
+
 2011-03-11  Peter Stephenson  <pws@csr.com>
 
 	* unposted: Completion/Zsh/Context/_dynamic_directory_name:
@@ -14332,5 +14337,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5221 $
+* $Revision: 1.5222 $
 *****************************************************
diff --git a/Completion/Zsh/Type/_command_names b/Completion/Zsh/Type/_command_names
index 1f2af5700..24933c234 100644
--- a/Completion/Zsh/Type/_command_names
+++ b/Completion/Zsh/Type/_command_names
@@ -28,7 +28,7 @@ else
 
   defs=( "$defs[@]"
     'builtins:builtin command:compadd -k builtins'
-    "functions:shell function:compadd -k functions$ffilt"
+    "functions:shell function:compadd -k 'functions$ffilt'"
     'aliases:alias:compadd -k aliases'
     'suffix-aliases:suffix alias:_suffix_alias_files'
     'reserved-words:reserved word:compadd -k reswords'