Only show syntax if we're not running in emacs
This commit is contained in:
parent
ba46e0889e
commit
046a311523
1 changed files with 6 additions and 1 deletions
5
zshrc
5
zshrc
|
@ -80,4 +80,9 @@ bindkey "\e0F" end-of-line
|
||||||
bindkey "\e[H" beginning-of-line
|
bindkey "\e[H" beginning-of-line
|
||||||
bindkey "\e[F" end-of-line
|
bindkey "\e[F" end-of-line
|
||||||
|
|
||||||
|
if [ -z $EMACS ]; then
|
||||||
source ~/.zsh/syntax-highlighting/zsh-syntax-highlighting.zsh
|
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
|
||||||
|
|
Loading…
Reference in a new issue