fix(tmux): replace hardcoded zsh with portable shell detection

🤖 Generated with [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-openagent)
This commit is contained in:
YeonGyu-Kim
2026-03-16 13:52:41 +09:00
parent 1339ecdd13
commit d57c27feee
2 changed files with 4 additions and 2 deletions

View File

@@ -48,7 +48,8 @@ export async function spawnTmuxPane(
log("[spawnTmuxPane] all checks passed, spawning...")
const opencodeCmd = `zsh -c 'opencode attach ${serverUrl} --session ${sessionId}'`
const shell = process.env.SHELL || "/bin/sh"
const opencodeCmd = `${shell} -c 'opencode attach ${serverUrl} --session ${sessionId}'`
const args = [
"split-window",