mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
13 lines
326 B
Bash
13 lines
326 B
Bash
# This file integrates the history-substring-search script into oh-my-zsh.
|
|
|
|
source "${0:r:r}.zsh"
|
|
|
|
if check-bool "$CASE_SENSITIVE"; then
|
|
unset HISTORY_SUBSTRING_SEARCH_GLOBBING_FLAGS
|
|
fi
|
|
|
|
if ! check-bool "$COLOR"; then
|
|
unset HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_FOUND
|
|
unset HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_NOT_FOUND
|
|
fi
|
|
|