fix(terminal): run posix shell if no command specified and no SHELL found
This commit is contained in:
parent
21b7995393
commit
5f9b7b7c13
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ pub fn create_with_args(allocator: Allocator, parent: Plane, ctx: command.Contex
|
||||||
try argv_list.append(allocator, arg);
|
try argv_list.append(allocator, arg);
|
||||||
}
|
}
|
||||||
} else {
|
} 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
|
// Use the current plane dimensions for the initial pty size. The plane
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue