diff options
author | Jesse Luehrs <doy@tozt.net> | 2012-03-01 17:15:18 -0600 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2012-03-01 18:07:31 -0600 |
commit | 41a5497f0d420524d14a032208ca8b40e7593c4f (patch) | |
tree | 53159713f46d97df5aa4c671391d638f65a06e31 /zshrc | |
parent | 6009ba2628c001f7f8ea4edd3defe22681dbabdf (diff) | |
download | conf-41a5497f0d420524d14a032208ca8b40e7593c4f.tar.gz conf-41a5497f0d420524d14a032208ca8b40e7593c4f.zip |
add zsh-syntax-highlighting plugin
Diffstat (limited to 'zshrc')
-rw-r--r-- | zshrc | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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 $?` |