diff --git a/crates/nu-cli/src/prompt.rs b/crates/nu-cli/src/prompt.rs index f6c9f8185..47357889e 100644 --- a/crates/nu-cli/src/prompt.rs +++ b/crates/nu-cli/src/prompt.rs @@ -131,12 +131,12 @@ impl Prompt for NushellPrompt { match edit_mode { PromptEditMode::Default => match &self.default_prompt_indicator { Some(indicator) => indicator, - None => "〉", + None => "> ", } .into(), PromptEditMode::Emacs => match &self.default_prompt_indicator { Some(indicator) => indicator, - None => "〉", + None => "> ", } .into(), PromptEditMode::Vi(vi_mode) => match vi_mode { @@ -146,7 +146,7 @@ impl Prompt for NushellPrompt { }, PromptViMode::Insert => match &self.default_vi_insert_prompt_indicator { Some(indicator) => indicator, - None => "〉", + None => "> ", }, } .into(), diff --git a/crates/nu-utils/src/sample_config/default_env.nu b/crates/nu-utils/src/sample_config/default_env.nu index 34ea16e4f..8d9d490e5 100644 --- a/crates/nu-utils/src/sample_config/default_env.nu +++ b/crates/nu-utils/src/sample_config/default_env.nu @@ -30,9 +30,9 @@ let-env PROMPT_COMMAND_RIGHT = { create_right_prompt } # The prompt indicators are environmental variables that represent # the state of the prompt -let-env PROMPT_INDICATOR = { "〉" } +let-env PROMPT_INDICATOR = { "> " } let-env PROMPT_INDICATOR_VI_INSERT = { ": " } -let-env PROMPT_INDICATOR_VI_NORMAL = { "〉" } +let-env PROMPT_INDICATOR_VI_NORMAL = { "> " } let-env PROMPT_MULTILINE_INDICATOR = { "::: " } # Specifies how environment variables are: diff --git a/crates/nu-utils/src/sample_config/sample_login.nu b/crates/nu-utils/src/sample_config/sample_login.nu index 4bb43f254..26539c8ea 100644 --- a/crates/nu-utils/src/sample_config/sample_login.nu +++ b/crates/nu-utils/src/sample_config/sample_login.nu @@ -3,7 +3,7 @@ # - will be sourced after config.nu and env.nu in case of nushell started as login shell # just as an example for overwriting of an environment variable of env.nu -let-env PROMPT_INDICATOR = { "(LS)〉" } +let-env PROMPT_INDICATOR = { "(LS)> " } # Similar to env-path and config-path there is a variable containing the path to login.nu echo $nu.loginshell-path \ No newline at end of file