prezto_config/plugins/syntax-highlighting/init.zsh
2012-03-29 10:47:30 -04:00

12 lines
293 B
Bash

#
# 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