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

zsh-workers/9452

This commit is contained in:
Tanaka Akira 2000-01-28 09:12:23 +00:00
parent baa179f2b3
commit 0ec5c1b8a5

View file

@ -258,7 +258,7 @@ if (( $# )) && comparguments -i "$autod" "$@"; then
fi
fi
if [[ -z "$matched" ]] && _requested options &&
if [[ -z "$matched$mesg" ]] && _requested options &&
{ ! zstyle -t ":completion${curcontext}:options" prefix-needed ||
[[ "$origpre" = [-+]* ||
( -z "$aret$mesg" && nm -eq compstate[nmatches] ) ]] } ; then
@ -301,7 +301,7 @@ if (( $# )) && comparguments -i "$autod" "$@"; then
IPREFIX="$previpre"
fi
done
if [[ -n "$opts" && -z "$aret$matched" &&
if [[ -n "$opts" && -z "$aret$matched$mesg" &&
nm -eq compstate[nmatches] ]]; then
PREFIX="$origpre"