mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
Use zstyle instead of variables for configuration.
This commit is contained in:
parent
60f39d8d91
commit
f0499b76c3
13 changed files with 153 additions and 100 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue