1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-02 10:01:11 +02:00

zsh-workers/9722

This commit is contained in:
Tanaka Akira 2000-02-14 13:10:03 +00:00
parent 719acaf241
commit bf990125d1
3 changed files with 5 additions and 5 deletions

View file

@ -8,7 +8,7 @@
local curcontext="$curcontext"
if [[ -z "$curcontext" ]]; then
curcontext="correct-word:::"
curcontext="expand-word:::"
else
curcontext="expand-word:${curcontext#*:}"
fi

View file

@ -295,10 +295,10 @@ do_completion(Hookdef dummy, Compldat dat)
haspattern = 0;
complistmax = getiparam("LISTMAX");
zsfree(complastprompt);
complastprompt = ztrdup((dolastprompt =
((isset(ALWAYSLASTPROMPT) && zmult == 1) ||
(unset(ALWAYSLASTPROMPT) && zmult != 1))) ?
complastprompt = ztrdup(((isset(ALWAYSLASTPROMPT) && zmult == 1) ||
(unset(ALWAYSLASTPROMPT) && zmult != 1)) ?
"yes" : "");
dolastprompt = 1;
zsfree(complist);
complist = ztrdup(isset(LISTROWSFIRST) ?
(isset(LISTPACKED) ? "packed rows" : "rows") :

View file

@ -780,7 +780,7 @@ complistmatches(Hookdef dummy, Chdata dat)
if (inselect)
clearflag = 0;
if (asklist()) {
if (asklist() || !clearflag) {
amatches = oamatches;
return (noselect = 1);
}