about summary refs log tree commit diff
path: root/Functions/Zle
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-10-22 09:28:30 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-10-22 09:28:30 +0000
commitd5d858b0e2a1d87348124013646a083d4f9e43bb (patch)
treedbc40ea4cd8d2506d4b8b1eb5834f48bd40f8265 /Functions/Zle
parent7c4c41a0bbe38cf9bafb9ee1999f4e364b1872f7 (diff)
downloadzsh-d5d858b0e2a1d87348124013646a083d4f9e43bb.tar.gz
zsh-d5d858b0e2a1d87348124013646a083d4f9e43bb.tar.xz
zsh-d5d858b0e2a1d87348124013646a083d4f9e43bb.zip
unposted: more local variables needed
Diffstat (limited to 'Functions/Zle')
-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