mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-03 22:32:12 +02:00
zsh-workers/9713
This commit is contained in:
parent
4871785f98
commit
719acaf241
2 changed files with 2 additions and 1 deletions
|
@ -254,7 +254,7 @@ if (( $# )) && comparguments -i "$autod" "$@"; then
|
|||
fi
|
||||
fi
|
||||
|
||||
if [[ -z "$matched$mesg" ]] && _requested options &&
|
||||
if [[ -z "$matched" ]] && _requested options &&
|
||||
{ ! zstyle -t ":completion:${curcontext}:options" prefix-needed ||
|
||||
[[ "$origpre" = [-+]* ||
|
||||
( -z "$aret$mesg" && nm -eq compstate[nmatches] ) ]] } ; then
|
||||
|
|
|
@ -1261,6 +1261,7 @@ ca_parse_line(Cadef d)
|
|||
ca_laststate.ddef = ddef;
|
||||
ca_laststate.def = NULL;
|
||||
ca_laststate.opt = 1;
|
||||
state.curopt->active = 1;
|
||||
} else {
|
||||
ca_laststate.doff = doff;
|
||||
ca_laststate.opt = 0;
|
||||
|
|
Loading…
Reference in a new issue