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,