diff options
author | Oliver Kiddle <opk@users.sourceforge.net> | 2003-12-05 10:35:20 +0000 |
---|---|---|
committer | Oliver Kiddle <opk@users.sourceforge.net> | 2003-12-05 10:35:20 +0000 |
commit | 276fe6ef161b59a48d34324ec14ebb5076a9cefb (patch) | |
tree | 8b1a3fea791549c40f06aa7c126dad66efd91256 /Completion/Base/Completer | |
parent | 966afb4622fbb5a71583557af88425b693e06fce (diff) | |
download | zsh-276fe6ef161b59a48d34324ec14ebb5076a9cefb.tar.gz zsh-276fe6ef161b59a48d34324ec14ebb5076a9cefb.tar.xz zsh-276fe6ef161b59a48d34324ec14ebb5076a9cefb.zip |
19276: fix fallback used to get completer list if the style lookup failed
Diffstat (limited to 'Completion/Base/Completer')
-rw-r--r-- | Completion/Base/Completer/_prefix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Base/Completer/_prefix b/Completion/Base/Completer/_prefix index a198f4cfb..c17b381e3 100644 --- a/Completion/Base/Completer/_prefix +++ b/Completion/Base/Completer/_prefix @@ -5,7 +5,7 @@ [[ _matcher_num -gt 1 || -z "$SUFFIX" ]] && return 1 local comp curcontext="$curcontext" tmp suf="$SUFFIX" \ - _completer _completer_num \ + _completer \ _matcher _c_matcher _matchers _matcher_num zstyle -a ":completion:${curcontext}:" completer comp || @@ -18,7 +18,7 @@ else fi SUFFIX='' -_completer_num=1 +local _completer_num=1 for tmp in "$comp[@]"; do if [[ "$tmp" = *:-* ]]; then |