diff --git a/src/cli.rs b/src/cli.rs index 4554b6bdc..6ed091c80 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -396,6 +396,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,