mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-12 06:20:09 +01:00
fix: things with nushell
This commit is contained in:
parent
e1e9c14b47
commit
58b6a65a75
6 changed files with 15 additions and 10 deletions
|
|
@ -694,7 +694,7 @@ pub fn get_shell() -> String {
|
|||
pub fn shell_syntax(shell: &str, command: &str) -> String {
|
||||
#[allow(clippy::single_match)]
|
||||
match shell {
|
||||
"nu" => command.replace("&&", ";").to_string(),
|
||||
"nu" => command.replace("&&\n", ";\n").to_string(),
|
||||
_ => command.to_string(),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue