1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-09 00:11:25 +02:00

11392: Completion/Core/_description: ignore-line fix.

This commit is contained in:
Tanaka Akira 2000-05-15 23:33:29 +00:00
parent 195f1c4015
commit 072be45ee5
2 changed files with 6 additions and 2 deletions

View file

@ -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,

View file

@ -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