Only source additional zsh resources if files exist
This commit is contained in:
parent
b294b005bb
commit
d16a943984
1 changed files with 4 additions and 2 deletions
|
@ -112,5 +112,7 @@ if (( ${+terminfo[smkx]} )) && (( ${+terminfo[rmkx]} )); then
|
|||
fi
|
||||
|
||||
# HIGHLIGHTING
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue