From b7e6103d56972ccec4305395ba3d707f0618f58a Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Wed, 17 Dec 2008 22:36:56 -0500 Subject: [PATCH] Add :silent command --- common/content/ui.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/common/content/ui.js b/common/content/ui.js index 89e5009a..dc2c314b 100644 --- a/common/content/ui.js +++ b/common/content/ui.js @@ -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 ////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////{{{