mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-07-31 09:29:24 +00:00
Use zstyle instead of variables for configuration.
This commit is contained in:
@ -2,11 +2,11 @@
|
||||
|
||||
source "${0:h}/history-substring-search.zsh"
|
||||
|
||||
if check-bool "$CASE_SENSITIVE"; then
|
||||
if zstyle -t ':omz:plugin:history-substring-search' case-sensitive; then
|
||||
unset HISTORY_SUBSTRING_SEARCH_GLOBBING_FLAGS
|
||||
fi
|
||||
|
||||
if ! check-bool "$COLOR"; then
|
||||
if ! zstyle -t ':omz:plugin:history-substring-search' color; then
|
||||
unset HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_FOUND
|
||||
unset HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_NOT_FOUND
|
||||
fi
|
||||
|
Reference in New Issue
Block a user