1
0
Fork 0

[Fix #4] Add zsh-syntax-highlighting

pull/73/head
Sorin Ionescu 13 years ago
parent 1dcf189e5a
commit 7f7d133678

3
.gitmodules vendored

@ -4,3 +4,6 @@
[submodule "plugins/history-substring-search/external"]
path = plugins/history-substring-search/external
url = https://github.com/zsh-users/zsh-history-substring-search.git
[submodule "plugins/syntax-highlighting/external"]
path = plugins/syntax-highlighting/external
url = https://github.com/zsh-users/zsh-syntax-highlighting.git

@ -0,0 +1 @@
Subproject commit bb0d575942760fe483790fe878ea43b1f781e2ca

@ -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
Loading…
Cancel
Save