1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-28 16:42:27 +01:00

Use the alias of :run that was called in the output window.

This commit is contained in:
Doug Kearns
2011-06-19 01:29:38 +10:00
parent e11d10cfbb
commit daad89bb83

View File

@@ -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(<span highlight="CmdOutput">{result.output}</span>);
modules.autocommands.trigger("ShellCmdPost", {});