Files
gastown/internal/cmd
dustin e502f76bc4 fix: respect GT_TOWN_ROOT in quick-add command (#840)
The quick-add command (used by shell hook's "Add to Gas Town?" prompt)
previously only checked hardcoded paths ~/gt and ~/gastown, ignoring
GT_TOWN_ROOT and any other Gas Town installations.

This caused rigs to be added to the wrong town when users had multiple
Gas Town installations (e.g., ~/gt and ~/Documents/code/gt).

Fix the town discovery order:
1. GT_TOWN_ROOT env var (explicit user preference)
2. workspace.FindFromCwd() (supports multiple installations)
3. Fall back to ~/gt and ~/gastown
2026-01-21 13:36:20 -08:00
..
2026-01-09 02:22:20 +13:00
2026-01-08 22:10:40 +13:00
2026-01-17 12:46:49 -08:00
2026-01-20 20:19:05 -08:00
2026-01-17 12:46:49 -08:00
2026-01-08 12:36:54 -05:00
2026-01-17 12:46:49 -08:00