Подбор запуска history-search-multi-word

This commit is contained in:
Andrei Astafev 2022-12-21 14:03:17 +03:00
parent 9730fc1f5c
commit edf4ef872c

View File

@ -51,12 +51,12 @@ if [[ -z ${ZSH_HISTORY_SEARCH_MULTI_WORD_MODE+set} ]]; then
zinit wait'1' lucid light-mode depth'1' for \
atload"bindkey '^K' history-search-multi-word" \
zdharma-continuum/history-search-multi-word
elif [ ${ZSH_HISTORY_SEARCH_MULTI_WORD_MODE} = "1" ]; then
zinit wait'2' lucid light-mode depth'1' for \
atload"bindkey '^K' history-search-multi-word" \
zdharma-continuum/history-search-multi-word
elif [ ${ZSH_HISTORY_SEARCH_MULTI_WORD_MODE} = "2" ]; then
zinit light zdharma-continuum/history-search-multi-word
bindkey '^K' history-search-multi-word
#elif [ ${ZSH_HISTORY_SEARCH_MULTI_WORD_MODE} = "1" ]; then
# zinit wait'2' lucid light-mode depth'1' for \
# atload"bindkey '^K' history-search-multi-word" \
# zdharma-continuum/history-search-multi-word
#elif [ ${ZSH_HISTORY_SEARCH_MULTI_WORD_MODE} = "2" ]; then
# zinit light zdharma-continuum/history-search-multi-word
# bindkey '^K' history-search-multi-word
fi