From d26aaa659470019343751acb50384b0f950469b6 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Wed, 2 Nov 2016 01:23:42 +0000 Subject: [PATCH] Revert "Declare more global variables" This reverts commit ec88096611a5a1896d09d1d29431a048b7c4ca2c. --- zsh-history-substring-search.zsh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/zsh-history-substring-search.zsh b/zsh-history-substring-search.zsh index cf02057..fa1a8d7 100644 --- a/zsh-history-substring-search.zsh +++ b/zsh-history-substring-search.zsh @@ -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} #