| 3 | export type ShellType = 'unix' | 'powershell' | 'cmd' |
| 4 | |
| 5 | export interface Shell { |
| 6 | id: string |
| 7 | name: string |
| 8 | command: string |
| 9 | args?: string[] |
| 10 | env: Record<string, string> |
| 11 | |
| 12 | /** |
| 13 | * Base path to which shell's internal FS is relative |
| 14 | * Currently used for WSL only |
| 15 | */ |
| 16 | fsBase?: string |
| 17 | |
| 18 | cwd?: string |
| 19 | |
| 20 | /** |
| 21 | * SVG icon |
| 22 | */ |
| 23 | icon?: string |
| 24 | |
| 25 | shellType?: ShellType |
| 26 | |
| 27 | hidden?: boolean |
| 28 | } |
| 29 | |
| 30 | /** |
| 31 | * Extend to add support for more shells |
nothing calls this directly
no outgoing calls
no test coverage detected