Extract SupportedShells constant to constants package (gt-4u682)

- Added constants.SupportedShells for consistent shell list
- Updated 7 usages across start.go, crew_lifecycle.go, crew_helpers.go, tmux.go
- All tests pass

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Steve Yegge
2025-12-28 16:40:39 -08:00
parent bf7d28082f
commit 4f94ba2b6b
4 changed files with 12 additions and 4 deletions

View File

@@ -101,6 +101,10 @@ const (
RoleDeacon = "deacon"
)
// SupportedShells lists shell binaries that Gas Town can detect and work with.
// Used to identify if a tmux pane is at a shell prompt vs running a command.
var SupportedShells = []string{"bash", "zsh", "sh", "fish", "tcsh", "ksh"}
// Path helpers construct common paths.
// MayorRigsPath returns the path to rigs.json within a town root.