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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user