mirror of
https://github.com/zsh-users/zsh-history-substring-search
synced 2024-09-20 16:19:04 +02:00
Merge pull request #108 from ericbn/dont-overwrite-config
Don't overwrite config with default values
This commit is contained in:
commit
c765a4a17c
|
@ -115,7 +115,7 @@ Configuration
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
|
|
||||||
This script defines the following global variables. You may override their
|
This script defines the following global variables. You may override their
|
||||||
default values only after having loaded this script into your ZSH session.
|
default values.
|
||||||
|
|
||||||
* `HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_FOUND` is a global variable that defines
|
* `HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_FOUND` is a global variable that defines
|
||||||
how the query should be highlighted inside a matching command. Its default
|
how the query should be highlighted inside a matching command. Its default
|
||||||
|
|
|
@ -43,12 +43,12 @@
|
||||||
# declare global configuration variables
|
# declare global configuration variables
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
|
|
||||||
typeset -g HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_FOUND='bg=magenta,fg=white,bold'
|
: ${HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_FOUND='bg=magenta,fg=white,bold'}
|
||||||
typeset -g HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_NOT_FOUND='bg=red,fg=white,bold'
|
: ${HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_NOT_FOUND='bg=red,fg=white,bold'}
|
||||||
typeset -g HISTORY_SUBSTRING_SEARCH_GLOBBING_FLAGS='i'
|
: ${HISTORY_SUBSTRING_SEARCH_GLOBBING_FLAGS='i'}
|
||||||
typeset -g HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE=''
|
: ${HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE=''}
|
||||||
typeset -g HISTORY_SUBSTRING_SEARCH_FUZZY=''
|
: ${HISTORY_SUBSTRING_SEARCH_FUZZY=''}
|
||||||
typeset -g HISTORY_SUBSTRING_SEARCH_PREFIX=''
|
: ${HISTORY_SUBSTRING_SEARCH_PREFIX=''}
|
||||||
|
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
# declare internal global variables
|
# declare internal global variables
|
||||||
|
|
Loading…
Reference in a new issue