2011-08-26 14:58:19 +08:00
|
|
|
# This file integrates the history-substring-search script into oh-my-zsh.
|
|
|
|
|
2011-09-11 13:02:10 +08:00
|
|
|
source "${0:h}/history-substring-search.zsh"
|
2011-08-26 14:58:19 +08:00
|
|
|
|
2011-12-27 02:37:53 +08:00
|
|
|
if zstyle -t ':omz:plugin:history-substring-search' case-sensitive; then
|
2011-08-26 14:58:19 +08:00
|
|
|
unset HISTORY_SUBSTRING_SEARCH_GLOBBING_FLAGS
|
|
|
|
fi
|
|
|
|
|
2011-12-27 02:37:53 +08:00
|
|
|
if ! zstyle -t ':omz:plugin:history-substring-search' color; then
|
2011-08-26 14:58:19 +08:00
|
|
|
unset HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_FOUND
|
|
|
|
unset HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_NOT_FOUND
|
|
|
|
fi
|
2011-08-31 11:16:15 +08:00
|
|
|
|