-
Notifications
You must be signed in to change notification settings - Fork 49
/
Copy path04_highlight.zsh
23 lines (18 loc) · 1.03 KB
/
04_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
if [[ -f $HOME/zshkit/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]]; then
source $HOME/zshkit/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
# look at me i can be twlight-mode too
command_highlight_style="fg=white,bold"
quote_highlight_style="fg=green"
option_highlight_style="fg=cyan,bold"
ZSH_HIGHLIGHT_STYLES[history-expansion]="fg=yellow"
ZSH_HIGHLIGHT_STYLES[alias]=$command_highlight_style
ZSH_HIGHLIGHT_STYLES[builtin]=$command_highlight_style
ZSH_HIGHLIGHT_STYLES[function]=$command_highlight_style
ZSH_HIGHLIGHT_STYLES[command]=$command_highlight_style
ZSH_HIGHLIGHT_STYLES[hashed-command]=$command_highlight_style
ZSH_HIGHLIGHT_STYLES[double-quoted-argument]=$quote_highlight_style
ZSH_HIGHLIGHT_STYLES[single-quoted-argument]=$quote_highlight_style
ZSH_HIGHLIGHT_STYLES[back-quoted-argument]=$quote_highlight_style
ZSH_HIGHLIGHT_STYLES[single-hyphen-option]=$option_highlight_style
ZSH_HIGHLIGHT_STYLES[double-hyphen-option]=$option_highlight_style
fi