desktop: bring back -i in sidecar arguments

shell configs like .zshrc don't get loaded without it
This commit is contained in:
Brendan Allan 2026-02-20 22:03:23 +08:00
parent 7867ba441f
commit 92ab4217c2
No known key found for this signature in database
GPG Key ID: 41E835AEA046A32E

View File

@ -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);