summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--zshrc7
1 files changed, 6 insertions, 1 deletions
diff --git a/zshrc b/zshrc
index a706643..fbd0458 100644
--- a/zshrc
+++ b/zshrc
@@ -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