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