From 41a5497f0d420524d14a032208ca8b40e7593c4f Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Thu, 1 Mar 2012 17:15:18 -0600 Subject: add zsh-syntax-highlighting plugin --- zshrc | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'zshrc') diff --git a/zshrc b/zshrc index 6adcd9c..44605cf 100644 --- a/zshrc +++ b/zshrc @@ -42,6 +42,18 @@ export HISTFILE=$HOME/.zsh_history export HISTSIZE=1000000000 export SAVEHIST=1000000000 export SPROMPT="Correct $fg[red]%R$reset_color to $fg[green]%r$reset_color? [ynae] " +# plugins {{{ +# zsh-syntax-highlighting {{{ +source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh +ZSH_HIGHLIGHT_STYLES[path]='fg=blue,bold' +ZSH_HIGHLIGHT_STYLES[assign]='fg=cyan' +ZSH_HIGHLIGHT_STYLES[command]='fg=green' +ZSH_HIGHLIGHT_STYLES[precommand]='fg=yellow' +ZSH_HIGHLIGHT_STYLES[builtin]='fg=yellow' +ZSH_HIGHLIGHT_STYLES[reserved-word]='fg=yellow' +ZSH_HIGHLIGHT_STYLES[globbing]='fg=magenta' +# }}} +# }}} # prompt {{{ function shell_prompt_precmd () { PROMPT=`fancy-prompt --prompt-escape zsh $?` -- cgit v1.2.3-54-g00ecf