diff --git a/client/tui/tui.go b/client/tui/tui.go index 49db438..20a803c 100644 --- a/client/tui/tui.go +++ b/client/tui/tui.go @@ -371,7 +371,7 @@ func (m model) View() string { SELECTED_COMMAND = m.tableEntries[m.table.Cursor()].Command if m.selected == SelectedWithChangeDir { changeDir := m.tableEntries[m.table.Cursor()].CurrentWorkingDirectory - SELECTED_COMMAND = "cd " + changeDir + "; " + SELECTED_COMMAND + SELECTED_COMMAND = "cd " + changeDir + " && " + SELECTED_COMMAND } return "" }