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