On 6 Oct 2009, at 15:55, bean22 wrote:
Recently I wrote a bundle command to paste the selected TM text to a terminal window.
Was working fine for few weeks, but then suddenly there was a lag of 2-3 seconds between when i launched the command (via bundles menu or keyboard shortcut) and when it got around to pasting the text. Kind of irritating.
See second item at http://wiki.macromates.com/Troubleshooting/ShellCommands
Try insert: ‘#!/bin/sh’ as first line of your command. This may function as a workaround.