Skip to content

Commit

Permalink
Prevent double ; in LS_COLORS
Browse files Browse the repository at this point in the history
  • Loading branch information
John-Toohey committed Jan 1, 2024
1 parent 6bee633 commit 4d2cdb9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/theme.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,7 @@ impl Theme {
let mut style: String = format!("{font_style}");
if let Some(foreground) = foreground {
let foreground_code = foreground.get_style(ColorType::Foreground, self.color_mode);
style.push_str(&format!(
";{foreground_code}",
foreground_code = foreground_code
));
style.push_str(&foreground_code);
}

if let Some(background) = background {
Expand Down

0 comments on commit 4d2cdb9

Please sign in to comment.