mirror of
https://github.com/zsh-users/zsh-history-substring-search
synced 2024-09-20 08:09:05 +02:00
parent
ec88096611
commit
d26aaa6594
|
@ -204,7 +204,7 @@ _history-substring-search-begin() {
|
|||
# in ZSH, so we do not need to actually search the history. This should
|
||||
# speed things up a little.
|
||||
#
|
||||
typeset -g _history_substring_search_query=
|
||||
_history_substring_search_query=
|
||||
typeset -g _history_substring_search_raw_matches=()
|
||||
|
||||
else
|
||||
|
@ -219,7 +219,6 @@ _history-substring-search-begin() {
|
|||
# we put an extra "\\" before meta characters such as "\(" and "\)",
|
||||
# so that they become "\\\(" and "\\\)".
|
||||
#
|
||||
typeset -g MBEGIN MEND
|
||||
local escaped_query=${BUFFER//(#m)[\][()|\\*?#<>~^]/\\$MATCH}
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue