(configShell?: string)
| 212 | } |
| 213 | |
| 214 | export function acceptable(configShell?: string) { |
| 215 | if (configShell) return select(configShell, { acceptable: true }) |
| 216 | defaultAcceptable ??= select(process.env.SHELL, { acceptable: true }) |
| 217 | return defaultAcceptable |
| 218 | } |
| 219 | acceptable.reset = () => { |
| 220 | defaultAcceptable = undefined |
| 221 | } |