mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-10-14 15:49:09 +00:00
committed by
Sorin Ionescu
parent
5232191cbe
commit
fb9a20591f
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Integrates history-substring-search into Oh My Zsh.
|
||||
# Integrates history-substring-search into Prezto.
|
||||
#
|
||||
# Authors:
|
||||
# Suraj N. Kurapati <sunaku@gmail.com>
|
||||
@@ -7,7 +7,7 @@
|
||||
#
|
||||
|
||||
# Load dependencies.
|
||||
omodload 'editor'
|
||||
pmodload 'editor'
|
||||
|
||||
# Source module files.
|
||||
source "${0:h}/external/zsh-history-substring-search.zsh"
|
||||
@@ -16,11 +16,11 @@ source "${0:h}/external/zsh-history-substring-search.zsh"
|
||||
# Styles
|
||||
#
|
||||
|
||||
if zstyle -t ':omz:module:history-substring-search' case-sensitive; then
|
||||
if zstyle -t ':prezto:module:history-substring-search' case-sensitive; then
|
||||
unset HISTORY_SUBSTRING_SEARCH_GLOBBING_FLAGS
|
||||
fi
|
||||
|
||||
if ! zstyle -t ':omz:module:history-substring-search' color; then
|
||||
if ! zstyle -t ':prezto:module:history-substring-search' color; then
|
||||
unset HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_{FOUND,NOT_FOUND}
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user