2
0
mirror of https://github.com/garabik/grc.git synced 2024-11-10 21:26:52 +01:00
bash-color-grc/conf.du
2016-06-18 18:18:18 -05:00

28 lines
437 B
Plaintext

# Cannot read STDERR, not working
regexp=^du.*
colours=red
======
# Path
regexp=\s+[\.\/]+([\w\s\-\_\.]+)(\/.*)?$
colours=default,bold blue,blue
======
# Size 'K'
regexp=^\d*[.,]?\dKi?\s
colours=green
======
# Size 'M'
regexp=^\d*[.,]?\dMi?\s
colours=yellow
======
# Size 'G'
regexp=^\d*[.,]?\dGi?\s
colours=red
======
# Size 'T'
regexp=^\d*[.,]?\dTi?\s
colours=bold red
======
# Total
regexp=(.*)\s+(total)$
colours=bold yellow on_blue