From 7c0af13252fba44b924a01bf07fb61d2957040aa Mon Sep 17 00:00:00 2001 From: iff Date: Fri, 28 Mar 2025 16:06:56 +0100 Subject: [PATCH] fix: nushell operator --- core/src/shell.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/src/shell.rs b/core/src/shell.rs index d83c7ad..23f87c2 100644 --- a/core/src/shell.rs +++ b/core/src/shell.rs @@ -695,8 +695,7 @@ pub fn shell_syntax(shell: &str, command: &mut String) { #[allow(clippy::single_match)] match shell { "nu" => { - *command = command.replace(" && ", " and "); - *command = command.replace(" || ", " or "); + *command = command.replace(" && ", " ; "); } _ => {} }