mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-10-14 14:39:08 +00:00
history-substring-search: Tweak documentation and cleanup
This commit is contained in:
@@ -34,10 +34,6 @@ if zstyle -t ':prezto:module:history-substring-search' case-sensitive; then
|
||||
HISTORY_SUBSTRING_SEARCH_GLOBBING_FLAGS="${HISTORY_SUBSTRING_SEARCH_GLOBBING_FLAGS//i}"
|
||||
fi
|
||||
|
||||
if zstyle -t ':prezto:module:history-substring-search' prefixed; then
|
||||
HISTORY_SUBSTRING_SEARCH_PREFIXED='true'
|
||||
fi
|
||||
|
||||
if ! zstyle -t ':prezto:module:history-substring-search' color; then
|
||||
unset HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_{FOUND,NOT_FOUND}
|
||||
fi
|
||||
@@ -46,10 +42,14 @@ if zstyle -t ':prezto:module:history-substring-search' fuzzy; then
|
||||
HISTORY_SUBSTRING_SEARCH_FUZZY=1
|
||||
fi
|
||||
|
||||
if zstyle -t ':prezto:module:history-substring-search' ensure-unique; then
|
||||
if zstyle -t ':prezto:module:history-substring-search' unique; then
|
||||
HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE=1
|
||||
fi
|
||||
|
||||
if zstyle -t ':prezto:module:history-substring-search' prefixed; then
|
||||
HISTORY_SUBSTRING_SEARCH_PREFIXED=1
|
||||
fi
|
||||
|
||||
#
|
||||
# Key Bindings
|
||||
#
|
||||
|
Reference in New Issue
Block a user