2
0
Fork 0
mirror of https://github.com/garabik/grc.git synced 2024-11-15 14:48:26 +01:00
bash-color-grc/conf.ls
Radovan Garabík 56be92284d initial commit
2015-01-25 18:36:02 +01:00

31 lines
992 B
Text

# size
regexp=(\s|^)\d+([.,]\d+)?\s?([kKMG][bB]|[bB]|[kKMG])(?=[\s,]|$)
colours=yellow
=======
# time
regexp=(\s|^)\d+(:\d+)+(?=[\s,]|$)
colours=bold green
=======
# mounth
regexp=\s[a-z]{3}\s
colours=yellow
=======
#regexp=(?<=\d):(?=\d)
#colours=bold yellow
#=======
# root
regexp=root|wheel(?=\s|$)
colours=bold red
=======
# -rwxrwxrwx
regexp=(-|([bcCdDlMnpPs?]))(?=[-r][-w][-xsStT][-r][-w][-xsStT][-r][-w][-xsStT])
colours=unchanged,unchanged,bold blue
=======
regexp=(?<=[-bcCdDlMnpPs?])(-|(r))(-|(w))(-|([xsStT]))(?=[-r][-w][-xsStT][-r][-w][-xsStT])
colours=unchanged,unchanged,bold green,unchanged,bold green,unchanged,bold green
=======
regexp=(?<=[-bcCdDlMnpPs?][-r][-w][-xsStT])(-|(r))(-|(w))(-|([xsStT]))(?=[-r][-w][-xsStT])
colours=unchanged,unchanged,bold yellow,unchanged,bold yellow,unchanged,bold yellow
=======
regexp=(?<=[-bcCdDlMnpPs?][-r][-w][-xsStT][-r][-w][-xsStT])(-|(r))(-|(w))(-|([xsStT]))
colours=unchanged,unchanged,bold red,unchanged,bold red,unchanged,bold red