Fix select-word-style by postponing the load of zsh-syntax-highlighting until after the shell is initialised
This commit is contained in:
parent
a2d253384a
commit
2d210a3c8d
3 changed files with 2 additions and 4 deletions
|
@ -1,4 +1,5 @@
|
|||
#! zsh
|
||||
_zsh_highlight() {}
|
||||
zle-line-init() {}
|
||||
zle -N zle-line-init
|
||||
|
||||
|
|
|
@ -22,7 +22,6 @@ zmodload zsh/complist # so that listscroll is defined
|
|||
zstyle :completion:* menu select
|
||||
zstyle :completion:* list-prompt ' '
|
||||
zstyle :completion:* select-prompt ' %F{blue}-- %m --%f'
|
||||
bindkey -M listscroll '^I' 'send-break; self-insert'
|
||||
|
||||
# Permit expensive completions to cache info and therefore be usable.
|
||||
zstyle :completion::complete:* use-cache on
|
||||
|
|
|
@ -29,6 +29,4 @@ if [[ ! $LS_COLORS_DIR/LS_COLORS.plugin.zsh -nt $LS_COLORS_DIR/LS_COLORS ]]; the
|
|||
fi
|
||||
|
||||
zplugin $load zsh-users/zsh-completions
|
||||
zplugin $load zsh-users/zsh-syntax-highlighting
|
||||
zplugin $load zsh-users/zsh-history-substring-search
|
||||
zplugin $load sharat87/zsh-vim-mode
|
||||
zplugin ice silent wait!1; zplugin $load zsh-users/zsh-syntax-highlighting
|
||||
|
|
Loading…
Reference in a new issue