1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-06-15 14:41:43 +00:00

[Fix #4] Add zsh-syntax-highlighting

This commit is contained in:
Sorin Ionescu
2012-03-29 10:47:30 -04:00
parent 1dcf189e5a
commit 7f7d133678
3 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,12 @@
#
# Integrates zsh-syntax-highlighting into Oh My Zsh.
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
if zstyle -t ':omz:plugin:syntax-highlighting' color; then
source "${0:h}/external/zsh-syntax-highlighting.zsh"
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern cursor)
fi