mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-07-22 20:31:03 +02:00
19276: fix fallback used to get completer list if the style lookup failed
This commit is contained in:
parent
4ba52447aa
commit
acf07cae91
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-12-05 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* 19276: Completion/Base/Completer/_prefix: fix fallback used to
|
||||
get completer list if the style lookup failed
|
||||
|
||||
2003-12-03 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* 19269: Src/pattern.c, Misc/globtests, Test/D02glob.ztst:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue