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 { match num {
// Bold and italic // Bold and italic
"1" => style = style.bold(), "1" | "01" => style = style.bold(),
"4" => style = style.underline(), "4" | "04" => style = style.underline(),
// Foreground colours // Foreground colours
"30" => style = style.fg(Black), "30" => style = style.fg(Black),