From 072be45ee5b4dfbb03f924023aef51916be1f935 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Mon, 15 May 2000 23:33:29 +0000 Subject: 11392: Completion/Core/_description: ignore-line fix. --- ChangeLog | 4 ++++ Completion/Core/_description | 4 ++-- 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 + + * 11392: Completion/Core/_description: ignore-line fix. + 2000-05-15 Clint Adams * 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 -- cgit 1.4.1