Explorar el Código

desktop: bring back -i in sidecar arguments

shell configs like .zshrc don't get loaded without it
Brendan Allan hace 9 meses
padre
commit
92ab4217c2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/desktop/src-tauri/src/cli.rs

+ 1 - 1
packages/desktop/src-tauri/src/cli.rs

@@ -320,7 +320,7 @@ pub fn spawn_command(
         };
 
         let mut cmd = Command::new(shell);
-        cmd.args(["-l", "-c", &line]);
+        cmd.args(["-il", "-c", &line]);
 
         for (key, value) in envs {
             cmd.env(key, value);