added pattern to zshrc

This commit is contained in:
arcan1s 2014-04-13 01:45:53 +04:00
parent 0e22c7a5c0
commit cb9693f422
2 changed files with 2 additions and 2 deletions

2
zshrc
View File

@ -44,7 +44,7 @@ ZSH_HIGHLIGHT_STYLES[back-quoted-argument]='fg=blue'
ZSH_HIGHLIGHT_STYLES[single-quoted-argument]='fg=yellow,underline' ZSH_HIGHLIGHT_STYLES[single-quoted-argument]='fg=yellow,underline'
ZSH_HIGHLIGHT_STYLES[double-quoted-argument]='fg=yellow' ZSH_HIGHLIGHT_STYLES[double-quoted-argument]='fg=yellow'
# pattern # pattern
#ZSH_HIGHLIGHT_PATTERNS+=('rm -rf *' 'fg=white,bold,bg=red') ZSH_HIGHLIGHT_PATTERNS+=('\~b/rm' 'fg=green')
# root # root
#ZSH_HIGHLIGHT_STYLES[root]='bg=red' #ZSH_HIGHLIGHT_STYLES[root]='bg=red'

View File

@ -44,7 +44,7 @@ ZSH_HIGHLIGHT_STYLES[back-quoted-argument]='fg=blue'
ZSH_HIGHLIGHT_STYLES[single-quoted-argument]='fg=yellow,underline' ZSH_HIGHLIGHT_STYLES[single-quoted-argument]='fg=yellow,underline'
ZSH_HIGHLIGHT_STYLES[double-quoted-argument]='fg=yellow' ZSH_HIGHLIGHT_STYLES[double-quoted-argument]='fg=yellow'
# pattern # pattern
#ZSH_HIGHLIGHT_PATTERNS+=('rm -rf *' 'fg=white,bold,bg=red') ZSH_HIGHLIGHT_PATTERNS+=('\~b/rm' 'fg=green')
# root # root
#ZSH_HIGHLIGHT_STYLES[root]='bg=red' #ZSH_HIGHLIGHT_STYLES[root]='bg=red'