mirror of
https://github.com/aljazceru/opencode.git
synced 2026-01-06 09:24:55 +01:00
chore: rename bash -> shell
This commit is contained in:
@@ -500,7 +500,7 @@ func (m *editorComponent) SubmitBash() (tea.Model, tea.Cmd) {
|
||||
updated, cmd := m.Clear()
|
||||
m = updated.(*editorComponent)
|
||||
cmds = append(cmds, cmd)
|
||||
cmds = append(cmds, util.CmdHandler(app.SendBash{Command: command}))
|
||||
cmds = append(cmds, util.CmdHandler(app.SendShell{Command: command}))
|
||||
return m, tea.Batch(cmds...)
|
||||
}
|
||||
|
||||
|
||||
@@ -687,6 +687,8 @@ func renderToolDetails(
|
||||
|
||||
func renderToolName(name string) string {
|
||||
switch name {
|
||||
case "bash":
|
||||
return "Shell"
|
||||
case "webfetch":
|
||||
return "Fetch"
|
||||
case "invalid":
|
||||
|
||||
Reference in New Issue
Block a user