From daad89bb83ede78fe95a923e46d285b83e327459 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Sun, 19 Jun 2011 01:29:38 +1000 Subject: [PATCH] Use the alias of :run that was called in the output window. --- common/modules/io.jsm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/modules/io.jsm b/common/modules/io.jsm index 5e1dd0b4..29d54d41 100644 --- a/common/modules/io.jsm +++ b/common/modules/io.jsm @@ -837,7 +837,7 @@ unlet s:cpo_save if (result.returnValue != 0) result.output += "\n" + _("io.shellReturn", result.returnValue); - modules.commandline.command = "!" + arg; + modules.commandline.command = args.commandName.replace("run", "$& ") + arg; modules.commandline.commandOutput({result.output}); modules.autocommands.trigger("ShellCmdPost", {});