Re: Theme color definition for .bak files



Hi Joerg,

I've tested using the definition "temp=lightgray,gray" but it looks like
this setting is not populated by mc.

For now I use a little workaround by removing .bak from the highlight
settings so I can see the files again.

Though it would be nice to be able to set a different color for these
elements, I think I can live with the current workaround.

Thanks for the tip
-t

Am 08.06.20 um 12:14 schrieb Joerg Thuemmler:
Hi Toni,

i didn't test this, but AFAIK this is defined in /etc/mc/filehighlight.ini first: 

[temp]
    extensions=tmp;$$$;~;bak
    extensions_case=false
    regexp=(^#.*|.*~$)

In your [colors] should be an entry for temp:
 
   temp=lightgray,gray:

Seems that you can split this wider creating more file types and addressing them in
[colors]...

just my 2ct

cu jth

Attachment: 0xCCE0E889E4AC9334.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]