1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 13:33:52 +01:00

fix for completer lookup in _ignored (12070)

This commit is contained in:
Sven Wischnowsky 2000-06-26 09:36:12 +00:00
parent 3ff5a17d8c
commit b4f914f784
2 changed files with 7 additions and 2 deletions

@ -1,5 +1,8 @@
2000-06-26 Sven Wischnowsky <wischnow@zsh.org>
* 12070: Completion/Core/_ignored: fix for completer lookup in
_ignored
* 12068: Doc/Zsh/mod_computil.yo, Src/Zle/computil.c: remove
compfmt; a bit of explanation for compfiles and compgroups

@ -4,12 +4,14 @@
[[ _matcher_num -gt 1 || $compstate[ignored] -eq 0 ]] && return 1
local comp _comp_no_ignore=yes tmp expl \
_completer _completer_num _matcher _matchers _matcher_num
local comp
zstyle -a ":completion:${curcontext}:" completer comp ||
comp=( "${(@)_completers[1,_completer_num-1][(R)_ignored(|:*),-1]}" )
local _comp_no_ignore=yes tmp expl \
_completer _completer_num _matcher _matchers _matcher_num
_completer_num=1
for tmp in "$comp[@]"; do