Chrysostomus / manjaro-zsh-config

Zsh configuration package for manjaro
MIT License
124 stars 52 forks source link

`source zsh-syntax-highlighting.zsh` should be last #2

Closed jonathonf closed 7 years ago

jonathonf commented 7 years ago

As per https://github.com/zsh-users/zsh-syntax-highlighting:

FAQ Why must zsh-syntax-highlighting.zsh be sourced at the end of the .zshrc file?

zsh-syntax-highlighting.zsh wraps ZLE widgets. It must be sourced after all custom widgets have been created (i.e., after all zle -N calls and after running compinit). Widgets created later will work, but will not update the syntax highlighting.

Chrysostomus commented 7 years ago

Thank you, I only knew it needed to be after history substring search. I'll just move plugins to the end.

Chrysostomus commented 7 years ago

Fixed.