2
0
mirror of https://github.com/garabik/grc.git synced 2024-11-10 21:26:52 +01:00
bash-color-grc/colourfiles/conf.ps

73 lines
1.6 KiB
PostScript
Raw Normal View History

2015-01-25 18:36:02 +01:00
# /full/path
regexp=(\s|^)/[-\w\d.]+/[-\w\d./]+
2016-06-19 01:18:18 +02:00
colours=bold white
2015-01-25 18:36:02 +01:00
=======
# CAPS LINE
regexp=^[A-Z\s%]*([A-Z]{3})[A-Z\s%]*$
colours=underline
=======
# Capd Line
regexp=^([A-Z][-a-z0-9]+(\s+|$)){3,}$
colours=underline
=======
# VMSTAT
regexp=(\s|^)\d+([.,]\d+)?(?=[\s,]|$)
2016-06-19 01:18:18 +02:00
colours=bright_green
=======
# PID
regexp=^[a-zA-Z]+\w+\s+(\d+)|^\d\s+\w\s+(?:\w+\s+)?(\d+)|^\s*(\d+)
colours=unchanged,bold magenta,bold magenta,bold magenta
2015-01-25 18:36:02 +01:00
=======
# n.n.n
regexp=(\s|^)\d+\.\d+\.\d+(?=[\s,]|$)
colours=bold cyan
=======
# text:
regexp=^([-a-z0-9]+):\s
colours=unchanged,yellow
=======
# -options
regexp=(?<=\s)-[\w\d]+(?=\s|$)
colours=yellow
=======
# --long-option=
2016-06-19 01:18:18 +02:00
# legacy: regexp=(?<=\s)--[-\w\d]+[\w\d](?==|\s|$)(=?)
regexp=(?<=\s)--[-\w\d]+[\w\d](?==|\s|$)(=|\s)?(?!--)([^\s]*)
colours=cyan,white,underline cyan
2015-01-25 18:36:02 +01:00
=======
# [text]
regexp=\[[-\w\d:/]+\]
colours=cyan
=======
# root
regexp=root|wheel(?=\s|$)
2016-06-19 01:18:18 +02:00
colours=bold red
2015-01-25 18:36:02 +01:00
=======
# pts
regexp=(\s|^)pts/\d+(?=[^\w\d]|$)
2016-06-19 01:18:18 +02:00
colours=bright_yellow
2015-01-25 18:36:02 +01:00
=======
# tty
regexp=(\s|^)tty\d+(?=[^\w\d]|$)
2016-06-19 01:18:18 +02:00
colours=bright_cyan
=======
# Negative NICE (works only in -l)
regexp=^\d\s+\w\s+\w+\s+\d+\s+\d+\s+\d\s+\d+\s+(-\d+)
colours=unchanged,on_red bold white
=======
# Neutral NICE (works only in -l)
regexp=^\d\s+\w\s+\w+\s+\d+\s+\d+\s+\d\s+\d+\s+(\d+)
colours=unchanged,cyan
=======
# Positive NICE (works only in -l)
regexp=^\d\s+\w\s+\w+\s+\d+\s+\d+\s+\d\s+\d+\s+(1\d)
colours=unchanged,on_cyan bold white
=======
# Process ZOMBIE
regexp=^\d\s+([zZ])\s
colours=unchanged,on_red bold white
=======
# Process RS
regexp=^\d\s+([sSrR])\s
colours=unchanged,on_magenta black