forked from extern/nushell
Remove env var from starship
This commit is contained in:
parent
a1e21828d6
commit
8a0bdde17a
@ -374,6 +374,7 @@ pub async fn cli() -> Result<(), Box<dyn Error>> {
|
|||||||
let colored_prompt = {
|
let colored_prompt = {
|
||||||
#[cfg(feature = "starship-prompt")]
|
#[cfg(feature = "starship-prompt")]
|
||||||
{
|
{
|
||||||
|
std::env::set_var("STARSHIP_SHELL", "");
|
||||||
starship::print::get_prompt(starship::context::Context::new_with_dir(
|
starship::print::get_prompt(starship::context::Context::new_with_dir(
|
||||||
clap::ArgMatches::default(),
|
clap::ArgMatches::default(),
|
||||||
cwd,
|
cwd,
|
||||||
|
Loading…
Reference in New Issue
Block a user