Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode
/ defaultShell
Function
defaultShell
packages/core/src/tool/bash.ts:49–49 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
47
type
Output = typeof Output.Type
48
49
const
defaultShell = () => (process.platform ===
"win32"
? (process.env.COMSPEC ??
"cmd.exe"
) :
"/bin/sh"
)
50
51
const
modelOutput = (output: Output) => {
52
const
warnings = output.warnings?.length
Callers
1
bash.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected