diff --git a/etc/skel/.zshrc b/etc/skel/.zshrc index 6692354..a4de8b7 100644 --- a/etc/skel/.zshrc +++ b/etc/skel/.zshrc @@ -112,5 +112,7 @@ if (( ${+terminfo[smkx]} )) && (( ${+terminfo[rmkx]} )); then fi # HIGHLIGHTING -ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern) -source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh +if [ -f "/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" ]; then + ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern) + source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh +fi