...
|
...
|
@@ -21,7 +21,7 @@ export DISABLE_AUTO_UPDATE="true"
|
21
|
21
|
|
22
|
22
|
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
|
23
|
23
|
# Example format: plugins=(rails git textmate ruby lighthouse)
|
24
|
|
-plugins=(git github git-flow cap gem lol)
|
|
24
|
+plugins=(git github git-flow cap gem lol zsh-syntax-highlighting)
|
25
|
25
|
|
26
|
26
|
source /etc/profile
|
27
|
27
|
source $ZSH/oh-my-zsh.sh
|
...
|
...
|
@@ -32,6 +32,27 @@ unsetopt nomatch
|
32
|
32
|
LS_COLORS='no=00;32:fi=00:di=00;34:ln=01;36:pi=04;33:so=01;35:bd=33;04:cd=33;04:or=31;01:ex=00;32:*.rtf=00;33:*.txt=00;33:*.html=00;33:*.doc=00;33:*.pdf=00;33:*.ps=00;33:*.sit=00;31:*.hqx=00;31:*.bin=00;31:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.deb=00;31:*.dmg=00;36:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.ppm=00;35:*.tga=00;35:*.xbm=00;35:*.xpm=00;35:*.tif=00;35:*.mpg=00;37:*.avi=00;37:*.gl=00;37:*.dl=00;37:*.mov=00;37:*.mp3=00;35:'
|
33
|
33
|
export LS_COLORS;
|
34
|
34
|
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
|
|
35
|
+ZSH_HIGHLIGHT_STYLES+=(
|
|
36
|
+ default 'none'
|
|
37
|
+ unknown-token 'fg=red,bold'
|
|
38
|
+ reserved-word 'fg=yellow'
|
|
39
|
+ alias 'fg=none,bold'
|
|
40
|
+ builtin 'fg=none,bold'
|
|
41
|
+ function 'fg=none,bold'
|
|
42
|
+ command 'fg=none,bold'
|
|
43
|
+ hashed-command 'fg=none,bold'
|
|
44
|
+ path 'fg=cyan'
|
|
45
|
+ globbing 'fg=cyan'
|
|
46
|
+ history-expansion 'fg=blue'
|
|
47
|
+ single-hyphen-option 'fg=magenta'
|
|
48
|
+ double-hyphen-option 'fg=magenta'
|
|
49
|
+ back-quoted-argument 'fg=magenta,bold'
|
|
50
|
+ single-quoted-argument 'fg=green'
|
|
51
|
+ double-quoted-argument 'fg=green'
|
|
52
|
+ dollar-double-quoted-argument 'fg=cyan'
|
|
53
|
+ back-double-quoted-argument 'fg=cyan'
|
|
54
|
+ assign 'none'
|
|
55
|
+)
|
35
|
56
|
|
36
|
57
|
#bindkey "\e[H" beginning-of-line
|
37
|
58
|
#bindkey "\e[F" end-of-line
|