mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-13 23:03:55 +01:00
fix: nushell operator
This commit is contained in:
parent
13e8b4a7c2
commit
7c0af13252
1 changed files with 1 additions and 2 deletions
|
|
@ -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 ");
|
|
||||||
}
|
}
|
||||||
_ => {}
|
_ => {}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue