about summary refs log tree commit diff
path: root/Functions
diff options
context:
space:
mode:
Diffstat (limited to 'Functions')
-rw-r--r--Functions/Zle/history-beginning-search-menu2
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Zle/history-beginning-search-menu b/Functions/Zle/history-beginning-search-menu
index 891374925..105518102 100644
--- a/Functions/Zle/history-beginning-search-menu
+++ b/Functions/Zle/history-beginning-search-menu
@@ -38,7 +38,7 @@ zmodload -i zsh/parameter
 local -aU matches
 local -a display
 
-local search=$LBUFFER
+local search=$LBUFFER MATCH MBEGIN MEND
 
 search=${search//(#m)[\][()\\*?#<>~^]/\\$MATCH}
 if [[ $WIDGET = *-space* ]]; then