diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-06-26 09:36:12 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-06-26 09:36:12 +0000 |
commit | b4f914f784653554485a4bc29a160acfd1c6f6b4 (patch) | |
tree | ed267ad5d2f4eba603abb8031c5cda9fd137a547 /Completion | |
parent | 3ff5a17d8cf0de337e93ffd9e749d54fb4c70e0a (diff) | |
download | zsh-b4f914f784653554485a4bc29a160acfd1c6f6b4.tar.gz zsh-b4f914f784653554485a4bc29a160acfd1c6f6b4.tar.xz zsh-b4f914f784653554485a4bc29a160acfd1c6f6b4.zip |
fix for completer lookup in _ignored (12070)
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 |