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