Skip to content
Efreak edited this page Apr 18, 2015 · 3 revisions

Place here your contributions to acoc. You can paste straight from your configuration file.

###mount

This adds some more color than the mount options in the readme do.

[mount]
/^(.*) on (.*) (type) (.*) (\(.*\))/  cyan,blue+bold,magenta,green,red+bold

###colmount

colmount is mount|sed 's/\ type\ /\ \ /g'|column -t. If you have spaces in your mounts, you'll need to sed them to underscores, or the table won't work right. If you have a small screen, you'll also want to sed the longer mount paths with ellipsis...

[colmount]
/^(.*) on (.*) .*$/  cyan,blue+bold
/ (vfat|ext.) .*/         yellow+bold
/ (fuse.cifs|fuse.nfs|fuse.sshfs|fuse.davfs|cifs|nfs|sshfs|davfs) .*/         green
/ (proc|binfmt_misc|sysfs|tmpfs|debugfs|securityfs|devtmpfs|devpts|selinuxfs) .*/       red
/ (\(.*\))/ magenta
Clone this wiki locally