MCPcopy
hub / github.com/claude-code-best/claude-code / getShellConfigImpl

Function getShellConfigImpl

src/utils/Shell.ts:140–144  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

138}
139
140async function getShellConfigImpl(): Promise<ShellConfig> {
141 const binShell = await findSuitableShell()
142 const provider = await createBashShellProvider(binShell)
143 return { provider }
144}
145
146// Memoize the entire shell config so it only happens once per session
147export const getShellConfig = memoize(getShellConfigImpl)

Callers

nothing calls this directly

Calls 2

findSuitableShellFunction · 0.85
createBashShellProviderFunction · 0.85

Tested by

no test coverage detected