From 8a0bdde17a146a640789a0a91d38814ce8ca91ea Mon Sep 17 00:00:00 2001 From: Jonathan Turner Date: Sat, 30 Nov 2019 08:38:44 +1300 Subject: [PATCH] Remove env var from starship --- src/cli.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cli.rs b/src/cli.rs index cbb24be9e..717147393 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -374,6 +374,7 @@ pub async fn cli() -> Result<(), Box> { let colored_prompt = { #[cfg(feature = "starship-prompt")] { + std::env::set_var("STARSHIP_SHELL", ""); starship::print::get_prompt(starship::context::Context::new_with_dir( clap::ArgMatches::default(), cwd,