diff options
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Core/_ignored | 6 |
1 files changed, 4 insertions, 2 deletions
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 |