mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
zsh-history-substring-search plugin at 15f63de
https://github.com/sunaku/zsh-history-substring-search
This commit is contained in:
parent
7d19ae8fab
commit
caa1cc7067
3 changed files with 661 additions and 0 deletions
12
history-substring-search.plugin.zsh
Normal file
12
history-substring-search.plugin.zsh
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# This file integrates the history-substring-search script into oh-my-zsh.
|
||||
|
||||
source "$ZSH/plugins/history-substring-search/history-substring-search.zsh"
|
||||
|
||||
if test "$CASE_SENSITIVE" = true; then
|
||||
unset HISTORY_SUBSTRING_SEARCH_GLOBBING_FLAGS
|
||||
fi
|
||||
|
||||
if test "$DISABLE_COLOR" = true; then
|
||||
unset HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_FOUND
|
||||
unset HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_NOT_FOUND
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue