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

48 lines
817 B
PostScript

# /full/path
regexp=(\s|^)/[-\w\d.]+/[-\w\d./]+
colours=white
=======
# 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,]|$)
colours=bold green
=======
# 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=
regexp=(?<=\s)--[-\w\d]+[\w\d](?==|\s|$)(=?)
colours=cyan,white
=======
# [text]
regexp=\[[-\w\d:/]+\]
colours=cyan
=======
# root
regexp=root|wheel(?=\s|$)
colours=red
=======
# pts
regexp=(\s|^)pts/\d+(?=[^\w\d]|$)
colours=bold yellow
=======
# tty
regexp=(\s|^)tty\d+(?=[^\w\d]|$)
colours=bold cyan