2
0
mirror of https://github.com/garabik/grc.git synced 2024-11-10 21:26:52 +01:00
bash-color-grc/colourfiles/conf.dockerimages
Isaias Pina d927c5db24
Fix conf files
Add conf.jobs file
Fix lsattr and df conf files
Fix dockerimages conf file
Update grc.fish
2017-11-23 17:44:36 -06:00

64 lines
1.3 KiB
Plaintext

# 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=dark cyan
=====
# REPOSITORY (Image name)
regexp=^(?:(\S+)\/)*(\S+)\s
colours=default,yellow,bright_white
=====
# images without name
regexp=^<none>.*$
colours=bold red
=====
# images without tag
regexp=\s+(<none>)\s+
colours=unchanged,bold red
=====
# Size 'K'
regexp=(?<=\s)\d+[.,]?\d*\s?(KB?|B)
colours=green
======
# Size 'M', 2 digits
regexp=(?<=\s)\d{1,2}[.,]?\d*\s?MB?
colours=green
======
# Size 'M' 3+ digits
regexp=(?<=\s)\d{3,4}[.,]?\d*\s?MB?
colours=yellow
======
# Size 'G'
regexp=(?<=\s)\d+[.,]?\d*\s?GB?
colours=red
=====
# CREATED seconds/minutes
regexp=[\da-f]{12}\s+((?:About a|\d+) (?:seconds?|minutes?) ago)
colours=unchanged,on_green bold white
======
# CREATED About a minute ago
regexp=\s+(About a minute ago)\s\w+
colours=unchanged,on_green bold white
======
# CREATED hours
regexp=\s+(\d+\shours\s\w+)
colours=unchanged,bright_green
======
# CREATED days
regexp=\s+(\d+\sdays\s\w+)
colours=unchanged,green
======
# CREATED weeks
regexp=\s+(\d+\sweeks\s\w+)
colours=unchanged,yellow
======
# CREATED months
regexp=\s+(\d+\smonths\s\w+)
colours=unchanged,red
=====
# HEADERS
regexp=(?:\s|^)(REPOSITORY|TAG|IMAGE ID|CREATED|SIZE)(?:\s|$)
colours=default,underline