mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-12 01:11:27 +02:00
11392: Completion/Core/_description: ignore-line fix.
This commit is contained in:
parent
195f1c4015
commit
072be45ee5
2 changed files with 6 additions and 2 deletions
|
@ -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>
|
2000-05-15 Clint Adams <schizo@debian.org>
|
||||||
|
|
||||||
* 11387: Doc/Zsh/options.yo, Src/math.c, Src/options.c,
|
* 11387: Doc/Zsh/options.yo, Src/math.c, Src/options.c,
|
||||||
|
|
|
@ -33,9 +33,9 @@ if [[ -z "$_comp_no_ignore" ]]; then
|
||||||
if zstyle -a ":completion:${curcontext}:$1" ignored-patterns _comp_ignore; then
|
if zstyle -a ":completion:${curcontext}:$1" ignored-patterns _comp_ignore; then
|
||||||
opts=( $opts -F _comp_ignore )
|
opts=( $opts -F _comp_ignore )
|
||||||
zstyle -t ":completion:${curcontext}:$1" ignore-line &&
|
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
|
elif zstyle -t ":completion:${curcontext}:$1" ignore-line; then
|
||||||
_comp_ignore=( "$words[@]}]" )
|
_comp_ignore=( "$words[@]" )
|
||||||
else
|
else
|
||||||
_comp_ignore=()
|
_comp_ignore=()
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue