diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Completion/Core/_ignored | 6 |
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index dd1aad15c..550d3696f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/Completion/Core/_ignored b/Completion/Core/_ignored index 61d6d3ea5..0ba5a7ad2 100644 --- a/Completion/Core/_ignored +++ b/Completion/Core/_ignored @@ -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 |