better perm theme

This commit is contained in:
jonathan poelen 2017-02-22 23:38:06 +01:00
commit eb8935f156

View file

@ -1,7 +1,7 @@
def theme(context):
p="([rwxs-])"
reg="^([d-])"+p*9+"\s.*$"
p="([-rwxsStT])"
reg="^([-dpcCDlMmpPs?])"+p*9+"\s.*$"
colors="blue"+",green"*3+",yellow"*3+",red"*3
styles="normal"+ ",normal,italic,bold"*3
return context,[ [reg, colors, styles] ]