From 64eca491945be5ec80d8f57d74bbb042015f7915 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Tue, 28 Jul 2015 01:05:20 +0200 Subject: [PATCH] Add "zsh-syntax-highlighting" plugin --- .../zsh-syntax-highlighting.zshrc | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zshrc diff --git a/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zshrc b/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zshrc new file mode 100644 index 0000000..6913cb6 --- /dev/null +++ b/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zshrc @@ -0,0 +1,13 @@ +# AX-ZSH: Alex' Modular ZSH Configuration +# zsh-syntax-highlighting.zshrc: Initialize "ZSH Syntax Highlighting" + +for script ( + "/usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" +); do + if [[ -r "$script" ]]; then + [[ -n "$ZSH_HIGHLIGHT_HIGHLIGHTERS" ]] \ + && ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets) + source "$script" + return + fi +done -- 2.39.2