Merge pull request #70 from iax7/patch-2

Update conf.lsblk to color UUID correctly
This commit is contained in:
Radovan Garabík 2017-11-04 19:57:11 +01:00 committed by GitHub
commit 4b76c139a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 8 deletions

View File

@ -11,23 +11,23 @@ regexp=\s+([├└─│]+|[\|\`\-]+)(\S+)
colours=default,default,bright_cyan colours=default,default,bright_cyan
====== ======
# Type crypt # Type crypt
regexp=\scrypt\s regexp=(?<=\s)crypt\b
colours=on_magenta white colours=on_magenta white
====== ======
# Type disk # Type disk
regexp=\sdisk\s regexp=(?<=\s)disk\b
colours=magenta colours=magenta
====== ======
# Type lvm # Type lvm
regexp=\slvm\s regexp=(?<=\s)lvm\b
colours=bold cyan colours=bold cyan
====== ======
# Type part # Type part
regexp=\spart\s regexp=(?<=\s)part\b
colours=cyan colours=cyan
====== ======
# Type loop # Type loop
regexp=\sloop\s regexp=(?<=\s)loop\b
colours=bright_red colours=bright_red
====== ======
# Size 'K' # Size 'K'
@ -46,10 +46,14 @@ colours=red
regexp=\s\d*[.,]?\dTi?\s regexp=\s\d*[.,]?\dTi?\s
colours=bold red colours=bold red
====== ======
# Mount # Mount Path
regexp=\s\/.*$ regexp=(?<=\s)(\/[^\/ ]+)+$
colours=bold yellow colours=yellow,bold yellow
====== ======
# Mount [SWAP] # Mount [SWAP]
regexp=\s\[(SWAP)\] regexp=\s\[(SWAP)\]
colours=default,bright_magenta colours=default,bright_magenta
======
# UUID
regexp=(?<=\s)\b([0-9a-fA-F-]+|[\w-]{38})\b
colours=default,dark cyan