diff --git a/82-completion.zsh b/82-completion.zsh index b53da28..956c1d2 100644 --- a/82-completion.zsh +++ b/82-completion.zsh @@ -42,11 +42,16 @@ zinit wait'1' lucid light-mode depth'1' for \ bindkey '^[[B' history-substring-search-down" \ zsh-users/zsh-history-substring-search +[ "$(lsb_release -c -s)" = "orel" ] && ZSH_HISTORY_SEARCH_MULTI_WORD_MODE=1 + zstyle ':history-search-multi-word' page-size "$((LINES/2))" zstyle ':plugin:history-search-multi-word' clear-on-cancel 'yes' 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 +else + zinit light zdharma-continuum/history-search-multi-word + bindkey '^K' history-search-multi-word fi