about summary refs log tree commit diff
path: root/Functions
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-12-15 18:43:25 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-12-15 18:43:25 +0000
commit10c7dfab45e113d876659851fdee96f47e03b978 (patch)
tree77f8cc3432ae33a5f3fd8f20b8d724a00f025f69 /Functions
parent8bc41ba869dbbd3c6bc2c8f2338c740311074f23 (diff)
downloadzsh-10c7dfab45e113d876659851fdee96f47e03b978.tar.gz
zsh-10c7dfab45e113d876659851fdee96f47e03b978.tar.xz
zsh-10c7dfab45e113d876659851fdee96f47e03b978.zip
zsh-workers/9064
Diffstat (limited to 'Functions')
-rw-r--r--Functions/Zle/predict-on4
1 files changed, 2 insertions, 2 deletions
diff --git a/Functions/Zle/predict-on b/Functions/Zle/predict-on
index 4f0b15507..49d815e26 100644
--- a/Functions/Zle/predict-on
+++ b/Functions/Zle/predict-on
@@ -61,7 +61,7 @@ insert-and-predict () {
 	  # get out of that `case'.
 	  repeat 1
 	  do
-	    _style -s '' cursor crs
+	    zstyle -s ":completion${curcontext}" cursor crs
 	    case $crs in
 	    (complete)
 	      # At the place where the completion left it, if it is after
@@ -119,7 +119,7 @@ predict-limit-list() {
   then
     compstate[list]=''
     compstate[force_list]=yes
-  elif _style '' list always ]]
+  elif zstyle ":completion${curcontext}:predict" list always ]]
   then
     compstate[force_list]=yes
   fi