mirror of
https://github.com/zsh-users/zsh-history-substring-search.git
synced 2026-11-08 18:47:34 -05:00
global variables: declare up-front
This commit is contained in:
@@ -38,6 +38,25 @@
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# declare global variables
|
||||
#-----------------------------------------------------------------------------
|
||||
|
||||
typeset -g BUFFER MATCH MBEGIN MEND CURSOR
|
||||
typeset -g HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_FOUND
|
||||
typeset -g HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_NOT_FOUND
|
||||
typeset -g HISTORY_SUBSTRING_SEARCH_GLOBBING_FLAGS
|
||||
typeset -g HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE
|
||||
typeset -g _history_substring_search_refresh_display
|
||||
typeset -g _history_substring_search_query_highlight
|
||||
typeset -g _history_substring_search_result
|
||||
typeset -g _history_substring_search_query
|
||||
typeset -g _history_substring_search_raw_matches
|
||||
typeset -g _history_substring_search_raw_match_index
|
||||
typeset -g _history_substring_search_matches
|
||||
typeset -g -A _history_substring_search_unique_filter
|
||||
typeset -g _history_substring_search_match_index
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# configuration variables
|
||||
#-----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user