about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-05-15 23:33:29 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-05-15 23:33:29 +0000
commit072be45ee5b4dfbb03f924023aef51916be1f935 (patch)
tree47592b855f448046b57135a7b55c87b10de87692
parent195f1c4015b7219e81e7c376f06c9276106dcc84 (diff)
downloadzsh-072be45ee5b4dfbb03f924023aef51916be1f935.tar.gz
zsh-072be45ee5b4dfbb03f924023aef51916be1f935.tar.xz
zsh-072be45ee5b4dfbb03f924023aef51916be1f935.zip
11392: Completion/Core/_description: ignore-line fix.
-rw-r--r--ChangeLog4
-rw-r--r--Completion/Core/_description4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index f87ba8e0c..837b4bc3b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-05-15  Tanaka Akira  <akr@zsh.org>
+
+	* 11392: Completion/Core/_description: ignore-line fix.
+
 2000-05-15  Clint Adams  <schizo@debian.org>
 
 	* 11387: Doc/Zsh/options.yo, Src/math.c, Src/options.c,
diff --git a/Completion/Core/_description b/Completion/Core/_description
index 9ea478ec5..4423f4a21 100644
--- a/Completion/Core/_description
+++ b/Completion/Core/_description
@@ -33,9 +33,9 @@ if [[ -z "$_comp_no_ignore" ]]; then
   if zstyle -a ":completion:${curcontext}:$1" ignored-patterns _comp_ignore; then
     opts=( $opts -F _comp_ignore )
     zstyle -t ":completion:${curcontext}:$1" ignore-line &&
-        _comp_ignore=( "$_comp_ignore[@]" "$words[@]}" )
+        _comp_ignore=( "$_comp_ignore[@]" "$words[@]" )
   elif zstyle -t ":completion:${curcontext}:$1" ignore-line; then
-    _comp_ignore=( "$words[@]}]" )
+    _comp_ignore=( "$words[@]" )
   else
     _comp_ignore=()
   fi