medit/moo/mooedit/tools.xml

14 lines
301 B
XML

<tools>
<tool id="ShellCommand" os="unix">
<_name>Shell Command</_name>
<_label>_Shell Command</_label>
<command type="MooScript" options="need-doc">
<code>cmd = HistoryEntry("", "ShellCommand");
if cmd then
Insert(Exec(cmd), "\n");
fi;
</code>
</command>
</tool>
</tools>