mirror of
https://github.com/nushell/nushell.git
synced 2024-12-25 16:39:08 +01:00
Merge pull request #1029 from jonathandturner/fix_starship_env_var
Remove env var from starship
This commit is contained in:
commit
c2b1908644
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user