mirror of
https://github.com/lsd-rs/lsd
synced 2024-12-14 14:12:31 +00:00
let lscolors apply default colors if LS_COLORS not defined
This commit is contained in:
parent
896a7f7729
commit
510f91e801
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ impl Colors {
|
|||
};
|
||||
let lscolors = match theme {
|
||||
Theme::NoColor => None,
|
||||
Theme::Default => LsColors::from_env(),
|
||||
Theme::Default => Some(LsColors::from_env().unwrap_or_default()),
|
||||
Theme::NoLscolors => None,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue