Merge pull request #1029 from jonathandturner/fix_starship_env_var

Remove env var from starship
This commit is contained in:
Jonathan Turner 2019-11-29 12:00:10 -08:00 committed by GitHub
commit c2b1908644
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -396,6 +396,7 @@ pub async fn cli() -> Result<(), Box<dyn Error>> {
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,