From ba2e1a76aaf0559888978126bb4d91cf0f9ce10c Mon Sep 17 00:00:00 2001 From: "Suraj N. Kurapati" Date: Fri, 30 Sep 2011 17:01:13 -0700 Subject: [PATCH] extendedglob used in *end() function; closes #6 --- zsh-history-substring-search.zsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zsh-history-substring-search.zsh b/zsh-history-substring-search.zsh index 3eaa1c9..e03e310 100644 --- a/zsh-history-substring-search.zsh +++ b/zsh-history-substring-search.zsh @@ -255,6 +255,8 @@ function _history-substring-search-begin() { } function _history-substring-search-end() { + setopt localoptions extendedglob + _history_substring_search_result=$BUFFER # move the cursor to the end of the command line