mirror of https://github.com/bobwen-dev/hunter
Merge pull request #24 from cpdean/fix-lscolors
fix lscolors config if environment variable not set NOTE: This got lost at some point. Remerging this now.
This commit is contained in:
commit
d1c932f4ac
|
@ -28,7 +28,7 @@ use crate::widget::Events;
|
|||
|
||||
|
||||
lazy_static! {
|
||||
static ref COLORS: LsColors = LsColors::from_env().unwrap();
|
||||
static ref COLORS: LsColors = LsColors::from_env().unwrap_or_default();
|
||||
static ref TAGS: RwLock<(bool, Vec<PathBuf>)> = RwLock::new((false, vec![]));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue