diff options
author | Andrew Janke <andrew@apjanke.net> | 2015-08-17 20:59:39 -0400 |
---|---|---|
committer | Andrew Janke <andrew@apjanke.net> | 2015-08-17 20:59:39 -0400 |
commit | 00eb4658304b010afdfa87f74be673c8aced4961 (patch) | |
tree | 3d9e7f95f21265c3c60f10cdca720308bb2421c6 /plugins/history-substring-search/history-substring-search.zsh | |
parent | 47d19cc56425aa7c550d845726111ee8bd9520d1 (diff) | |
parent | 192de6bcffb0294e19f4203f6f7dc1a7f3e427be (diff) | |
download | zsh-00eb4658304b010afdfa87f74be673c8aced4961.tar.gz zsh-00eb4658304b010afdfa87f74be673c8aced4961.tar.bz2 zsh-00eb4658304b010afdfa87f74be673c8aced4961.zip |
Merge branch 'master' into fold-terminalapp-plugin-into-termsupport
Diffstat (limited to 'plugins/history-substring-search/history-substring-search.zsh')
-rw-r--r-- | plugins/history-substring-search/history-substring-search.zsh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/history-substring-search/history-substring-search.zsh b/plugins/history-substring-search/history-substring-search.zsh index 22f03dd6d..65f0750db 100644 --- a/plugins/history-substring-search/history-substring-search.zsh +++ b/plugins/history-substring-search/history-substring-search.zsh @@ -175,7 +175,6 @@ fi # implementation details #----------------------------------------------------------------------------- -setopt extendedglob zmodload -F zsh/parameter # @@ -284,6 +283,7 @@ if [[ $+functions[_zsh_highlight] -eq 0 ]]; then fi function _history-substring-search-begin() { + setopt localoptions extendedglob _history_substring_search_move_cursor_eol=false _history_substring_search_query_highlight= @@ -350,6 +350,7 @@ 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 |