2
0
mirror of https://github.com/garabik/grc.git synced 2024-10-28 17:41:01 +01:00
bash-color-grc/colourfiles/conf.free
Joeky b7e96762b4 conf.free: support inhuman free
Signed-off-by: Joeky <joeky5888@gmail.com>
2021-04-20 23:16:19 +08:00

28 lines
405 B
Plaintext

# Size 'K'
regexp=\s\d*[.,]?\dKi?|\b\d{1,3}\b
colours=green
======
# Size 'M'
regexp=\s\d*[.,]?\dMi?|\b\d{4,6}\b
colours=yellow
======
# Size 'G'
regexp=\s\d*[.,]?\dGi?|\b\d{7,9}\b
colours=red
======
# Size 'T'
regexp=\s\d*[.,]?\dTi?|\b\d{10,12}\b
colours=bold red
======
# Mem
regexp=^Mem
colours=bold cyan
======
# Swap
regexp=^Swap
colours=bold magenta
======
# Zero
regexp=\s+0\w?(\s|$)
colours=green