2
0
Fork 0
mirror of https://github.com/garabik/grc.git synced 2024-11-11 14:40:49 +01:00
bash-color-grc/conf.du

28 lines
437 B
Text
Raw Normal View History

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