Add some highlighting options
This commit is contained in:
parent
0530c9ad54
commit
2ab08bd830
1 changed files with 16 additions and 0 deletions
16
.zshrc
16
.zshrc
|
@ -106,8 +106,24 @@ bindkey "^W" backward-delete-char
|
||||||
if [ -z $EMACS ]; then
|
if [ -z $EMACS ]; then
|
||||||
source $HOME/.zsh/syntax-highlighting/zsh-syntax-highlighting.zsh
|
source $HOME/.zsh/syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||||
|
|
||||||
|
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets)
|
||||||
|
|
||||||
|
ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=red'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[builtin]='fg=cyan'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[function]='fg=blue'
|
||||||
ZSH_HIGHLIGHT_STYLES[double-hyphen-option]='fg=blue'
|
ZSH_HIGHLIGHT_STYLES[double-hyphen-option]='fg=blue'
|
||||||
ZSH_HIGHLIGHT_STYLES[single-hyphen-option]='fg=blue'
|
ZSH_HIGHLIGHT_STYLES[single-hyphen-option]='fg=blue'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[back-quoted-argument]='fg=cyan'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[single-quoted-argument]='fg=cyan'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[double-quoted-argument]='fg=cyan'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[assign]='fg=yellow'
|
||||||
|
|
||||||
|
ZSH_HIGHLIGHT_STYLES[bracket-level-1]='fg=red'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[bracket-level-2]='fg=yellow'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[bracket-level-3]='fg=green'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[bracket-level-4]='fg=cyan'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[bracket-level-5]='fg=blue'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[bracket-level-6]='fg=magenta'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
compinit
|
compinit
|
||||||
|
|
Loading…
Reference in a new issue