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