diff options
author | anouar kappitou <anoirkapp@gmail.com> | 2020-06-14 19:22:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-14 20:22:34 +0200 |
commit | feac3d56ce7d9e530cd7f4d66059ac42645b0834 (patch) | |
tree | 99c9af875fdf52aad4d92191f458f7d2f616140b /src/main.rs | |
parent | 055986e2b1910fe7ed65dc1f058eaa2683046113 (diff) |
fix: replacing default RUST_LOG environement variable with starship specific one, to prevent interlacing (#1280)
Co-authored-by: Kappitou Anouar <anourkappitou@gmail.com>
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 363080360..a91b9e106 100644 --- a/src/main.rs +++ b/src/main.rs @@ -23,7 +23,7 @@ use crate::module::ALL_MODULES; use clap::{App, AppSettings, Arg, Shell, SubCommand}; fn main() { - pretty_env_logger::init(); + pretty_env_logger::init_custom_env("STARSHIP_LOG"); let status_code_arg = Arg::with_name("status_code") .short("s") |