2
0
mirror of https://github.com/garabik/grc.git synced 2024-09-18 17:31:29 +02:00
bash-color-grc/colourfiles/conf.uptime
Ricardo J. Barberis ee07d1bd15
conf.uptime: Support decimal comma
So load averages also are colourised when e.g. LANG=es_ES
2019-04-25 19:57:24 -03:00

17 lines
334 B
Plaintext

# Time
regexp=\sup(?:\s(\d+ days?),)?\s+(\d+ min|\d+:\d+),
colours=default,yellow,green
-
# users
regexp=\s+(\d+)\susers
colours=yellow,bold yellow
-
# load average
regexp=load average: (\d+[\.,]\d+),\s(\d+[\.,]\d+),\s(\d+[\.,]\d+)
colours=default,bright_cyan,cyan,dark cyan
-
# W Command section
# Title
regexp=^USER.*$
colours=bold