mirror of
https://github.com/nushell/nushell.git
synced 2024-12-26 17:09:06 +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 = {
|
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