1
0
mirror of https://github.com/bobwen-dev/hunter synced 2025-04-12 00:55:41 +02:00

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:
rabite0 2019-04-20 12:59:30 +02:00 committed by GitHub
commit d1c932f4ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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![]));
}