From 100e6f9aae957588cc15387f574f2f667ec5eca8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luka=20Marku=C5=A1i=C4=87?= Date: Thu, 27 Jul 2023 18:08:43 +0200 Subject: [PATCH] Re-enable custom command template application --- 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 0c36b876..f9981607 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