Merge pull request #300 from chetgurevitch/master

Fix LS_COLORS 01 and 04 detection
This commit is contained in:
Benjamin Sago 2017-10-08 12:11:42 +01:00 committed by GitHub
commit 6b86cc4615

View File

@ -52,8 +52,8 @@ impl<'var> Pair<'var> {
match num {
// Bold and italic
"1" => style = style.bold(),
"4" => style = style.underline(),
"1" | "01" => style = style.bold(),
"4" | "04" => style = style.underline(),
// Foreground colours
"30" => style = style.fg(Black),