Skip to content

Commit

Permalink
Colourize listings from `df'
Browse files Browse the repository at this point in the history
  • Loading branch information
em- committed Mar 17, 2013
1 parent fe35017 commit 70b1a45
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions conf.df
@@ -0,0 +1,5 @@
regexp=^((rootfs|tmpfs|udev)|(.*))\s+(\S+)\s+(\S+)\s+(\S+)\s+(\d+%)\s+(\S+)$
colours=default,default,cyan,green,magenta,default,default,blue,yellow
-
regexp=100%|9\d%
colours=red
4 changes: 4 additions & 0 deletions grc.conf
Expand Up @@ -53,3 +53,7 @@ conf.cvs
# mount
(^|[/\w\.]+/)mount\s?
conf.mount

# df
(^|[/\w\.]+/)df\s?
conf.df

0 comments on commit 70b1a45

Please sign in to comment.