medit/moo/mooedit/tools.xml

14 lines
301 B
XML
Raw Normal View History

2006-08-15 22:18:16 -07:00
<tools>
<tool id="ShellCommand" os="unix">
<_name>Shell Command</_name>
<_label>_Shell Command</_label>
2006-08-16 18:27:19 -07:00
<command type="MooScript" options="need-doc">
2006-08-15 22:18:16 -07:00
<code>cmd = HistoryEntry("", "ShellCommand");
if cmd then
Insert(Exec(cmd), "\n");
fi;
</code>
</command>
</tool>
</tools>