Highlighting of directory names with regexp #4988
Unanswered
ulrichstefenelli
asked this question in
Q&A
Replies: 1 comment 2 replies
-
|
https://source.midnight-commander.org/man/mc.html#Filenames_Highlight
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to highlight directory names using regexp, e.g. a directory name starting with a certain string.
I already added a section in filehighlight.ini
[directory_starting_with_abc]
type=DIR
regexp=^abc.*
Plus, I added a color in the filehighlight section of the skin, in my case I am using default.ini
[filehighlight]
directory = white;
directory_starting_with_abc=red;
However, I'm getting no effect. I's clearly working with filenames, but not with directory names. What am I missing?
Any ideas?
Ulrich
Beta Was this translation helpful? Give feedback.
All reactions