Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
nixos/zsh-syntax-highlighting: Fix highlighting when ohMyZsh is enabled #71825
Motivation for this change
If zsh-syntax-highlighting and ohMyZsh are enabled, the highlighting does not work propetly.
From https://github.com/zsh-users/zsh-syntax-highlighting#faq: "It must be sourced after all custom widgets have been created (i.e., after all zle -N calls and after running compinit)." zsh-syntax-highlighting must be sourced to the end.