cmux/scripts/rebuild.sh
Lawrence Chen c5bd543fe0 Initial commit: macOS terminal app with vertical tabs using libghostty
Features:
- Vertical tabs sidebar with SwiftUI
- Terminal emulation via GhosttyKit.xcframework (libghostty)
- Keyboard shortcuts: Cmd+T/N, Ctrl+Shift+` (new tab), Cmd+W (close),
  Cmd+Shift+[/], Ctrl+Tab (navigation), Cmd+1-9 (jump to tab)
- Reads Ghostty config from ~/Library/Application Support/com.mitchellh.ghostty/config
- Metal-based rendering
2026-01-22 01:16:24 -08:00

18 lines
327 B
Bash
Executable file

#!/bin/bash
# Rebuild and restart GhosttyTabs app
set -e
cd "$(dirname "$0")/.."
# Kill existing app if running
pkill -9 -f "GhosttyTabs" 2>/dev/null || true
# Build
swift build
# Copy to app bundle
cp .build/debug/GhosttyTabs .build/debug/GhosttyTabs.app/Contents/MacOS/
# Open the app
open .build/debug/GhosttyTabs.app