From 98c99a8fc12b33b1ac60ec654914a59cddeacf4f Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sat, 2 Nov 2013 14:52:30 -0400 Subject: Update zsh syntax highlighting and config --- .zsh/zsh-syntax-highlighting | 2 +- .zshrc | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.zsh/zsh-syntax-highlighting b/.zsh/zsh-syntax-highlighting index 45194671..e5d8a50d 160000 --- a/.zsh/zsh-syntax-highlighting +++ b/.zsh/zsh-syntax-highlighting @@ -1 +1 @@ -Subproject commit 45194671af8e1d6b37b16e214a58674762ab8e49 +Subproject commit e5d8a50d362a153a28506be6fae9cf179dbb5fd4 diff --git a/.zshrc b/.zshrc index ffb3096a..36fa2e01 100644 --- a/.zshrc +++ b/.zshrc @@ -23,18 +23,20 @@ colors # Libs source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh -ZSH_HIGHLIGHT_STYLES[command]='bold' +ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets) ZSH_HIGHLIGHT_STYLES[builtin]='none' +ZSH_HIGHLIGHT_STYLES[command]='bold' +ZSH_HIGHLIGHT_STYLES[precommand]='fg=yellow,bold' ZSH_HIGHLIGHT_STYLES[alias]='fg=magenta,bold' ZSH_HIGHLIGHT_STYLES[function]='fg=magenta,bold' -ZSH_HIGHLIGHT_STYLES[back-quoted-argument]='fg=yellow,bold' ZSH_HIGHLIGHT_STYLES[single-hyphen-option]='bold' ZSH_HIGHLIGHT_STYLES[double-hyphen-option]='bold' ZSH_HIGHLIGHT_STYLES[globbing]='fg=blue,bold' ZSH_HIGHLIGHT_STYLES[path]='none' ZSH_HIGHLIGHT_STYLES[history-expansion]='fg=blue,bold' -ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]='fg=yellow,bold' -ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]='fg=yellow,bold' +ZSH_HIGHLIGHT_STYLES[back-quoted-argument]='fg=cyan,bold' +ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]='fg=cyan,bold' +ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]='fg=cyan,bold' source ~/.zsh/z/z.sh -- cgit 1.4.1