()
| 138 | } |
| 139 | |
| 140 | async 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 |
| 147 | export const getShellConfig = memoize(getShellConfigImpl) |
nothing calls this directly
no test coverage detected