()
| 71 | * Checks if tmux is available on the system (installed and in PATH). |
| 72 | */ |
| 73 | export async function isTmuxAvailable(): Promise<boolean> { |
| 74 | const result = await execFileNoThrow(TMUX_COMMAND, ['-V']) |
| 75 | return result.code === 0 |
| 76 | } |
| 77 | |
| 78 | /** |
| 79 | * Checks if we're currently running inside iTerm2. |
no test coverage detected