Skip to content

Commit

Permalink
Override all Zsh Syntax Highlighting styles
Browse files Browse the repository at this point in the history
  • Loading branch information
twe4ked committed Oct 15, 2014
1 parent 1203c28 commit 3afc939
Showing 1 changed file with 23 additions and 6 deletions.
29 changes: 23 additions & 6 deletions shell/zsh/zsh-syntax-highlighting.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,27 @@ source ~/.fresh/build/vendor/zsh-syntax-highlighting.zsh

ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets)
ZSH_HIGHLIGHT_STYLES+=(
unknown-token 'bg=red,bold'
alias 'fg=magenta,bold'
single-quoted-argument 'fg=green,bold'
double-quoted-argument 'fg=green,bold'
builtin 'fg=yellow,bold'
function 'fg=yellow,bold'
default 'fg=black,bold'
unknown-token 'fg=red,bold'
reserved-word 'bold'
alias 'bold'
builtin 'bold'
function 'bold'
command 'bold'
precommand 'underline'
commandseparator 'none'
hashed-command 'fg=green'
path 'underline'
path_prefix 'underline'
path_approx 'fg=black,bold'
globbing 'fg=blue'
history-expansion 'fg=blue'
single-hyphen-option 'fg=black,bold'
double-hyphen-option 'fg=black,bold'
back-quoted-argument 'fg=green,underline'
single-quoted-argument 'fg=green'
double-quoted-argument 'fg=green,bold'
dollar-double-quoted-argument 'fg=cyan'
back-double-quoted-argument 'fg=cyan'
assign 'none'
)

0 comments on commit 3afc939

Please sign in to comment.