forked from extern/nushell
Remove env var from starship
This commit is contained in:
parent
8e7acd1094
commit
0a93335f6d
@ -396,6 +396,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