1
0
Fork 0
mirror of synced 2024-11-29 18:55:34 -05:00

[history-substring-search] Remove redundant defaults

for options already defined, with the same values, in
`zsh-history-substring-search.zsh`. See
be0fe1fca9/zsh-history-substring-search.zsh (L46-L48)

Closes #189
This commit is contained in:
Eric Nielsen 2017-07-17 16:15:51 -03:00 committed by GitHub
parent ff32968ba9
commit d562acc4c0

View file

@ -5,11 +5,6 @@
# source script # source script
source ${0:h}/external/zsh-history-substring-search.zsh || return 1 source ${0:h}/external/zsh-history-substring-search.zsh || return 1
# set options
HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_FOUND='bg=magenta,fg=white,bold'
HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_NOT_FOUND='bg=red,fg=white,bold'
HISTORY_SUBSTRING_SEARCH_GLOBBING_FLAGS='i'
# bind UP and DOWN keys # bind UP and DOWN keys
bindkey "${terminfo[kcuu1]}" history-substring-search-up bindkey "${terminfo[kcuu1]}" history-substring-search-up
bindkey "${terminfo[kcud1]}" history-substring-search-down bindkey "${terminfo[kcud1]}" history-substring-search-down