diff --git a/src/cli.rs b/src/cli.rs index cbb24be9ed..717147393f 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,