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 | |
parent | 3ff5a17d8cf0de337e93ffd9e749d54fb4c70e0a (diff) | |
download | zsh-b4f914f784653554485a4bc29a160acfd1c6f6b4.tar.gz zsh-b4f914f784653554485a4bc29a160acfd1c6f6b4.tar.xz zsh-b4f914f784653554485a4bc29a160acfd1c6f6b4.zip |
fix for completer lookup in _ignored (12070)
-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 |