-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.highlight.zsh
47 lines (40 loc) · 1.64 KB
/
.highlight.zsh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
##################
# HIGHLIGHTING #
##################
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern regexp)
typeset -A ZSH_HIGHLIGHT_STYLES
ZSH_HIGHLIGHT_STYLES[default]='none'
ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=167,bold'
ZSH_HIGHLIGHT_STYLES[reserved-word]='fg=214'
ZSH_HIGHLIGHT_STYLES[precommand]='fg=108,underline'
ZSH_HIGHLIGHT_STYLES[commandseparator]='none'
ZSH_HIGHLIGHT_STYLES[path]='underline'
ZSH_HIGHLIGHT_STYLES[path_pathseparator]='none'
ZSH_HIGHLIGHT_STYLES[path_prefix_pathseparator]='none'
ZSH_HIGHLIGHT_STYLES[globbing]='fg=66'
ZSH_HIGHLIGHT_STYLES[history-expansion]='fg=66'
ZSH_HIGHLIGHT_STYLES[single-hyphen-option]='none'
ZSH_HIGHLIGHT_STYLES[double-hyphen-option]='none'
ZSH_HIGHLIGHT_STYLES[back-quoted-argument]='none'
ZSH_HIGHLIGHT_STYLES[single-quoted-argument]='fg=172'
ZSH_HIGHLIGHT_STYLES[double-quoted-argument]='fg=172'
ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument]='fg=172'
ZSH_HIGHLIGHT_STYLES[rc-quote]='fg=72'
ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]='fg=72'
ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]='fg=72'
ZSH_HIGHLIGHT_STYLES[back-dollar-quoted-argument]='fg=72'
ZSH_HIGHLIGHT_STYLES[assign]='none'
ZSH_HIGHLIGHT_STYLES[redirection]='fg=208'
ZSH_HIGHLIGHT_STYLES[comment]='fg=245'
ZSH_HIGHLIGHT_STYLES[alias]='fg=175,bold'
ZSH_HIGHLIGHT_STYLES[suffix-alias]='fg=175,bold'
ZSH_HIGHLIGHT_STYLES[function]='fg=175,bold'
ZSH_HIGHLIGHT_STYLES[arg0]='fg=108,bold'
typeset -A ZSH_HIGHLIGHT_PATTERNS
ZSH_HIGHLIGHT_PATTERNS+=('rm -rf' 'fg=208,bold')
typeset -A ZSH_HIGHLIGHT_REGEXP
ZSH_HIGHLIGHT_REGEXP+=()
#####################
# AUTOSUGGESTIONS #
#####################
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=241'