|
@@ -1,6 +1,6 @@
|
1
|
1
|
# enable syntax-highlighting
|
2
|
|
-if [ -f /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]; then
|
3
|
|
- . /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
|
2
|
+if [ -f $ZSH_PLUGIN_BASE/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]; then
|
|
3
|
+ . $ZSH_PLUGIN_BASE/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
4
|
4
|
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern)
|
5
|
5
|
ZSH_HIGHLIGHT_STYLES[default]=none
|
6
|
6
|
ZSH_HIGHLIGHT_STYLES[unknown-token]=fg=white,underline
|
|
@@ -45,49 +45,3 @@ if [ -f /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]; then
|
45
|
45
|
ZSH_HIGHLIGHT_STYLES[cursor-matchingbracket]=standout
|
46
|
46
|
fi
|
47
|
47
|
|
48
|
|
-# enable syntax-highlighting
|
49
|
|
-if [ -f /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]; then
|
50
|
|
- . /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
51
|
|
- ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern)
|
52
|
|
- ZSH_HIGHLIGHT_STYLES[default]=none
|
53
|
|
- ZSH_HIGHLIGHT_STYLES[unknown-token]=fg=white,underline
|
54
|
|
- ZSH_HIGHLIGHT_STYLES[reserved-word]=fg=cyan,bold
|
55
|
|
- ZSH_HIGHLIGHT_STYLES[suffix-alias]=fg=green,underline
|
56
|
|
- ZSH_HIGHLIGHT_STYLES[global-alias]=fg=green,bold
|
57
|
|
- ZSH_HIGHLIGHT_STYLES[precommand]=fg=green,underline
|
58
|
|
- ZSH_HIGHLIGHT_STYLES[commandseparator]=fg=blue,bold
|
59
|
|
- ZSH_HIGHLIGHT_STYLES[autodirectory]=fg=green,underline
|
60
|
|
- ZSH_HIGHLIGHT_STYLES[path]=bold
|
61
|
|
- ZSH_HIGHLIGHT_STYLES[path_pathseparator]=
|
62
|
|
- ZSH_HIGHLIGHT_STYLES[path_prefix_pathseparator]=
|
63
|
|
- ZSH_HIGHLIGHT_STYLES[globbing]=fg=blue,bold
|
64
|
|
- ZSH_HIGHLIGHT_STYLES[history-expansion]=fg=blue,bold
|
65
|
|
- ZSH_HIGHLIGHT_STYLES[command-substitution]=none
|
66
|
|
- ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter]=fg=magenta,bold
|
67
|
|
- ZSH_HIGHLIGHT_STYLES[process-substitution]=none
|
68
|
|
- ZSH_HIGHLIGHT_STYLES[process-substitution-delimiter]=fg=magenta,bold
|
69
|
|
- ZSH_HIGHLIGHT_STYLES[single-hyphen-option]=fg=green
|
70
|
|
- ZSH_HIGHLIGHT_STYLES[double-hyphen-option]=fg=green
|
71
|
|
- ZSH_HIGHLIGHT_STYLES[back-quoted-argument]=none
|
72
|
|
- ZSH_HIGHLIGHT_STYLES[back-quoted-argument-delimiter]=fg=blue,bold
|
73
|
|
- ZSH_HIGHLIGHT_STYLES[single-quoted-argument]=fg=yellow
|
74
|
|
- ZSH_HIGHLIGHT_STYLES[double-quoted-argument]=fg=yellow
|
75
|
|
- ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument]=fg=yellow
|
76
|
|
- ZSH_HIGHLIGHT_STYLES[rc-quote]=fg=magenta
|
77
|
|
- ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]=fg=magenta,bold
|
78
|
|
- ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]=fg=magenta,bold
|
79
|
|
- ZSH_HIGHLIGHT_STYLES[back-dollar-quoted-argument]=fg=magenta,bold
|
80
|
|
- ZSH_HIGHLIGHT_STYLES[assign]=none
|
81
|
|
- ZSH_HIGHLIGHT_STYLES[redirection]=fg=blue,bold
|
82
|
|
- ZSH_HIGHLIGHT_STYLES[comment]=fg=black,bold
|
83
|
|
- ZSH_HIGHLIGHT_STYLES[named-fd]=none
|
84
|
|
- ZSH_HIGHLIGHT_STYLES[numeric-fd]=none
|
85
|
|
- ZSH_HIGHLIGHT_STYLES[arg0]=fg=cyan
|
86
|
|
- ZSH_HIGHLIGHT_STYLES[bracket-error]=fg=red,bold
|
87
|
|
- ZSH_HIGHLIGHT_STYLES[bracket-level-1]=fg=blue,bold
|
88
|
|
- ZSH_HIGHLIGHT_STYLES[bracket-level-2]=fg=green,bold
|
89
|
|
- ZSH_HIGHLIGHT_STYLES[bracket-level-3]=fg=magenta,bold
|
90
|
|
- ZSH_HIGHLIGHT_STYLES[bracket-level-4]=fg=yellow,bold
|
91
|
|
- ZSH_HIGHLIGHT_STYLES[bracket-level-5]=fg=cyan,bold
|
92
|
|
- ZSH_HIGHLIGHT_STYLES[cursor-matchingbracket]=standout
|
93
|
|
-fi
|