1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-22 16:20:23 +02:00

manual/10162

This commit is contained in:
Tanaka Akira 2000-03-17 19:27:19 +00:00
parent 3d81d10195
commit 42e39ffadb

View file

@ -7,6 +7,8 @@
# the expansions done produce no result or do not change the original
# word from the line.
setopt localoptions nullglob
[[ _matcher_num -gt 1 ]] && return 1
local exp word="$PREFIX$SUFFIX" sort expr expl subd suf=" "
@ -42,7 +44,7 @@ subd=("$exp[@]")
zstyle -s ":completion:${curcontext}:" glob expr &&
[[ "${(e):-\$[$expr]}" -eq 1 ]] &&
exp=( ${~exp}(N) )
exp=( ${~exp} )
# If we don't have any expansions or only one and that is the same
# as the original string, we let other completers run.