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:
parent
baa179f2b3
commit
0ec5c1b8a5
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue