shouldOfferTerminalSetup function

bool shouldOfferTerminalSetup()

Whether terminal setup should be offered for the current terminal.

Implementation

bool shouldOfferTerminalSetup() {
  final terminal = detectTerminal();
  if (Platform.isMacOS && terminal == 'Apple_Terminal') return true;
  return terminal == 'vscode' ||
      terminal == 'cursor' ||
      terminal == 'windsurf' ||
      terminal == 'alacritty' ||
      terminal == 'zed';
}