2
0
mirror of https://github.com/garabik/grc.git synced 2024-09-18 17:31:29 +02:00
bash-color-grc/colourfiles/conf.dockerimages

44 lines
884 B
Plaintext
Raw Normal View History

2016-04-01 09:46:08 +02:00
# HEADERS
regexp=(?:\s|^)(REPOSITORY|TAG|IMAGE ID|CREATED|SIZE)(?:\s|$)
colours=default,underline
=====
# REPO, TAG
2016-04-01 09:42:31 +02:00
regexp=^([a-z]+\/?[^\s]+)\s+([^\s]+)
colours=default,bold white,cyan,bold black
2016-10-17 21:51:07 +02:00
=======
# REPO, TAG, IMAGE ID
regexp=^([a-z]+\/?[^\s]+)\s+([^\s]+)\s+(\w+)
colours=default,bold white,bright_cyan,bright_black
=====
# latest
regexp=\s+(latest)\s+
colours=unchanged,cyan
=====
# REPOSITORY (Image name)
regexp=^(?:([a-z\-_0-9]+)/)*([a-z\-_0-9]+)\s
colours=default,yellow,bright_white
=====
# images without name
regexp=^<none>.*$
colours=bold red
=====
# Size 'K'
regexp=\s\d*[\.,]?\d*\sKB?
2016-04-01 09:42:31 +02:00
colours=green
======
# Size 'M', 2 digits
regexp=\s\d{1,2}[\.,]?\d*\sMB?
colours=green
======
# Size 'M' 3+ digits
regexp=\s\d{3,4}[\.,]?\d*\sMB?
colours=yellow
======
# Size 'G'
2016-04-01 09:46:08 +02:00
regexp=\s\d*[\.,]?\d*\sGB?
colours=red
======
# Date Ago
regexp=(?:\s{2}|^)(?:\w+\s)+ago
colours=cyan