fix(terminal): run posix shell if no command specified and no SHELL found

This commit is contained in:
CJ van den Berg 2026-02-27 20:11:00 +01:00
parent 21b7995393
commit 5f9b7b7c13
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -74,7 +74,7 @@ pub fn create_with_args(allocator: Allocator, parent: Plane, ctx: command.Contex
try argv_list.append(allocator, arg);
}
} else {
try argv_list.append(allocator, env.get("SHELL") orelse "bash");
try argv_list.append(allocator, env.get("SHELL") orelse "/bin/sh");
}
// Use the current plane dimensions for the initial pty size. The plane