change options locally and restore them on return
This commit is contained in:
parent
0e58320e78
commit
c5c4ab8eea
1 changed files with 2 additions and 1 deletions
|
|
@ -79,7 +79,6 @@ bindkey '\e[B' history-substring-search-down
|
|||
# implementation details
|
||||
#-----------------------------------------------------------------------------
|
||||
|
||||
setopt extendedglob
|
||||
zmodload -F zsh/parameter
|
||||
|
||||
#
|
||||
|
|
@ -188,6 +187,8 @@ 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=
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue