Only show syntax if we're not running in emacs

This commit is contained in:
Tom Willemsen 2011-01-28 19:25:50 +01:00
parent ba46e0889e
commit 046a311523

5
zshrc
View file

@ -80,4 +80,9 @@ bindkey "\e0F" end-of-line
bindkey "\e[H" beginning-of-line
bindkey "\e[F" end-of-line
if [ -z $EMACS ]; then
source ~/.zsh/syntax-highlighting/zsh-syntax-highlighting.zsh
ZSH_HIGHLIGHT_STYLES[double-hyphen-option]='fg=blue'
ZSH_HIGHLIGHT_STYLES[single-hyphen-option]='fg=blue'
fi