1
0
Fork 0
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:
Tanaka Akira 2000-02-14 13:03:36 +00:00
parent 4871785f98
commit 719acaf241
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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;