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