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:
commit
d1c932f4ac
@ -28,7 +28,7 @@ use crate::widget::Events;
|
|||||||
|
|
||||||
|
|
||||||
lazy_static! {
|
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![]));
|
static ref TAGS: RwLock<(bool, Vec<PathBuf>)> = RwLock::new((false, vec![]));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user