mirror of
https://github.com/zsh-users/zsh
synced 2024-10-01 21:54:34 +00:00
unposted: more local variables needed
This commit is contained in:
parent
7c4c41a0bb
commit
d5d858b0e2
|
@ -1,5 +1,8 @@
|
|||
2009-10-22 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* Functions/Zle/history-beginning-search-menu: unposted:
|
||||
make more variables local.
|
||||
|
||||
* unposted, c.f. 27313: INSTALL, NEWS, README, Doc/Zsh/contrib.yo,
|
||||
Doc/Zsh/manual.yo, Doc/Zsh/metafaq.yo, Etc/CONTRIBUTORS,
|
||||
Etc/FAQ.yo, Etc/changelog2html.pl,
|
||||
|
@ -12265,5 +12268,5 @@
|
|||
|
||||
*****************************************************
|
||||
* This is used by the shell to define $ZSH_PATCHLEVEL
|
||||
* $Revision: 1.4794 $
|
||||
* $Revision: 1.4795 $
|
||||
*****************************************************
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue