1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-29 04:02:27 +01:00

Add :silent command

This commit is contained in:
Kris Maglione
2008-12-17 22:36:56 -05:00
parent 6ca4af3c95
commit b7e6103d56

View File

@@ -841,6 +841,17 @@ function CommandLine() //{{{
},
{ argCount: "0" });
commands.add(["sil[ent]"],
"Run a command silently",
function (args)
{
commandline.runSilently(function () liberator.execute(args[0]));
},
{
completer: function (context) completion.ex(context),
literal: 0
});
/////////////////////////////////////////////////////////////////////////////}}}
////////////////////// PUBLIC SECTION //////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////{{{