Skip to content

Commit

Permalink
Re-enable custom command template application (#470)
Browse files Browse the repository at this point in the history
  • Loading branch information
mark2185 authored Aug 3, 2023
1 parent e8e808f commit 937a6a9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/gui/custom_commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ func (gui *Gui) createCommandMenu(customCommands []config.CustomCommand, command
return command.InternalFunction()
}

resolvedCommand := command.Command
if command.Shell {
resolvedCommand = gui.OSCommand.NewCommandStringWithShell(command.Command)
resolvedCommand = gui.OSCommand.NewCommandStringWithShell(resolvedCommand)
}

// if we have a command for attaching, we attach and return the subprocess error
Expand Down

0 comments on commit 937a6a9

Please sign in to comment.