about summary refs log tree commit diff
path: root/Functions
diff options
context:
space:
mode:
Diffstat (limited to 'Functions')
-rw-r--r--Functions/Zle/predict-on2
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Zle/predict-on b/Functions/Zle/predict-on
index 9d3da7532..04cba8297 100644
--- a/Functions/Zle/predict-on
+++ b/Functions/Zle/predict-on
@@ -56,7 +56,7 @@ insert-and-predict () {
 	  local crs curcontext="${curcontext}"
 
           [[ -z "$curcontext" ]] && curcontext=:::
-          curcontext="${curcontext#*:}predict:"
+          curcontext="predict:${curcontext#*:}"
 
 	  comppostfuncs=( predict-limit-list )
 	  zle complete-word