From 937a6a9c936b20460a44689edbec282c76104a03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luka=20Marku=C5=A1i=C4=87?= Date: Thu, 3 Aug 2023 12:38:53 +0200 Subject: [PATCH] Re-enable custom command template application (#470) --- pkg/gui/custom_commands.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/gui/custom_commands.go b/pkg/gui/custom_commands.go index 0c36b8769..f9981607f 100644 --- a/pkg/gui/custom_commands.go +++ b/pkg/gui/custom_commands.go @@ -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