mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-11 00:51:05 +02:00
zsh-workers/9064
This commit is contained in:
parent
8bc41ba869
commit
10c7dfab45
1 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@ insert-and-predict () {
|
||||||
# get out of that `case'.
|
# get out of that `case'.
|
||||||
repeat 1
|
repeat 1
|
||||||
do
|
do
|
||||||
_style -s '' cursor crs
|
zstyle -s ":completion${curcontext}" cursor crs
|
||||||
case $crs in
|
case $crs in
|
||||||
(complete)
|
(complete)
|
||||||
# At the place where the completion left it, if it is after
|
# At the place where the completion left it, if it is after
|
||||||
|
@ -119,7 +119,7 @@ predict-limit-list() {
|
||||||
then
|
then
|
||||||
compstate[list]=''
|
compstate[list]=''
|
||||||
compstate[force_list]=yes
|
compstate[force_list]=yes
|
||||||
elif _style '' list always ]]
|
elif zstyle ":completion${curcontext}:predict" list always ]]
|
||||||
then
|
then
|
||||||
compstate[force_list]=yes
|
compstate[force_list]=yes
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue