diff --git a/crates/nu-cli/src/prompt.rs b/crates/nu-cli/src/prompt.rs index 011c7512be..9264c1b646 100644 --- a/crates/nu-cli/src/prompt.rs +++ b/crates/nu-cli/src/prompt.rs @@ -109,8 +109,7 @@ impl Prompt for NushellPrompt { let prompt = default .render_prompt_left() .to_string() - .replace('\n', "\r\n") - + " "; + .replace('\n', "\r\n"); prompt.into() } @@ -144,11 +143,11 @@ impl Prompt for NushellPrompt { PromptEditMode::Vi(vi_mode) => match vi_mode { PromptViMode::Normal => match &self.default_vi_normal_prompt_indicator { Some(indicator) => indicator, - None => ": ", + None => "> ", }, PromptViMode::Insert => match &self.default_vi_insert_prompt_indicator { Some(indicator) => indicator, - None => "> ", + None => ": ", }, } .into(),