summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrabite0 <rabite@posteo.de>2019-04-20 12:59:30 +0200
committerGitHub <noreply@github.com>2019-04-20 12:59:30 +0200
commitd1c932f4ac64e31856c524f46bb330a9218a5f21 (patch)
tree15066361c524d237a579bea85e42e3a2a976815c
parent8a7ee029f6f6bf07898531ae49088b3efa78c342 (diff)
parent38e1bf656b5352dbbc77cd2b4b163db52774b8bf (diff)
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.
-rw-r--r--src/files.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/files.rs b/src/files.rs
index d1a3775..38108e6 100644
--- a/src/files.rs
+++ b/src/files.rs
@@ -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![]));
}