Reapply "feat(desktop): terminal pane (#5081)"

This reverts commit 03a0312e5b.
This commit is contained in:
Adam
2025-12-04 20:32:08 -06:00
parent 378cbb30e2
commit 9b3c90e3fe
26 changed files with 2299 additions and 402 deletions
+13
View File
@@ -0,0 +1,13 @@
export function shell() {
const s = process.env.SHELL
if (s) return s
if (process.platform === "darwin") {
return "/bin/zsh"
}
if (process.platform === "win32") {
return process.env.COMSPEC || "cmd.exe"
}
const bash = Bun.which("bash")
if (bash) return bash
return "bash"
}