garabik/grc

`ls -lah` not colorized properly when listing a specific path

nicholas-ochoa opened this issue · 2 comments

I noticed when I'm in a directory such as /var/log/ and I run ls -lah I get the expected output (colorized), but when running ls -lah /var/log the colorization doesn't appear complete. The output is the same however:

ls -lah
2020-07-28 12_19_08-Window

ls -lah /var/log
2020-07-28 12_19_40-Window

Using the latest commit from the devel branch. Using master / release version and there are no colors at all in the ls -lah /var/log example.

Comment lines

# log file
\b\w+\b.*log\b
conf.log

in /etc/grc.conf

Regular expression \b\w+\b.*log recognized /var/log part as log file

Fixed in 7cd8fff