diff --git a/crates/nu-cli/src/repl.rs b/crates/nu-cli/src/repl.rs index 5d1a48af22..4a816557b9 100644 --- a/crates/nu-cli/src/repl.rs +++ b/crates/nu-cli/src/repl.rs @@ -141,6 +141,7 @@ pub fn evaluate_repl( }; line_editor = line_editor .with_history_session_id(history_session_id) + .with_history_exclusion_prefix(Some(" ".into())) .with_history(history); }; perf(