Ver Fonte

desktop: bring back -i in sidecar arguments

shell configs like .zshrc don't get loaded without it
Brendan Allan há 1 mês atrás
pai
commit
92ab4217c2
1 ficheiros alterados com 1 adições e 1 exclusões
  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);
         let mut cmd = Command::new(shell);
-        cmd.args(["-l", "-c", &line]);
+        cmd.args(["-il", "-c", &line]);
 
 
         for (key, value) in envs {
         for (key, value) in envs {
             cmd.env(key, value);
             cmd.env(key, value);