about summary refs log tree commit diff
path: root/Completion/Core/_history
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Core/_history')
-rw-r--r--Completion/Core/_history5
1 files changed, 5 insertions, 0 deletions
diff --git a/Completion/Core/_history b/Completion/Core/_history
index 86fd9efc5..109bda91f 100644
--- a/Completion/Core/_history
+++ b/Completion/Core/_history
@@ -30,6 +30,11 @@ else
   opt="${opt}V"
 fi
 
+PREFIX="$IPREFIX$PREFIX"
+IPREFIX=
+SUFFIX="$SUFFIX$ISUFFIX"
+ISUFFIX=
+
 # We skip the first element of historywords so the current word doesn't
 # interfere with the completion
 h_words=( "${(@)historywords[2,-1]}" )