diff options
author | 2011-01-28 19:25:50 +0100 | |
---|---|---|
committer | 2011-01-28 19:25:50 +0100 | |
commit | 046a31152373c8822fe11f2301572539b87f217d (patch) | |
tree | 9d91c73e681bedddafa1dc40949b6c885f9efa94 | |
parent | ba46e0889e857e8904db0f9011a489836b79409d (diff) | |
download | dotfiles-046a31152373c8822fe11f2301572539b87f217d.tar.gz dotfiles-046a31152373c8822fe11f2301572539b87f217d.zip |
Only show syntax if we're not running in emacs
-rw-r--r-- | zshrc | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -80,4 +80,9 @@ bindkey "\e0F" end-of-line bindkey "\e[H" beginning-of-line bindkey "\e[F" end-of-line -source ~/.zsh/syntax-highlighting/zsh-syntax-highlighting.zsh +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 |