fix: nushell operator

This commit is contained in:
iff 2025-03-28 16:06:56 +01:00
parent 13e8b4a7c2
commit 7c0af13252

View file

@ -695,8 +695,7 @@ pub fn shell_syntax(shell: &str, command: &mut String) {
#[allow(clippy::single_match)] #[allow(clippy::single_match)]
match shell { match shell {
"nu" => { "nu" => {
*command = command.replace(" && ", " and "); *command = command.replace(" && ", " ; ");
*command = command.replace(" || ", " or ");
} }
_ => {} _ => {}
} }