[TxMt] Re: Rubymate-style output for shell

Bruno mail at hinterland.nu
Thu May 17 13:45:30 UTC 2007


>> running shell commands splats the output into a plain window, with
>> output and errors thrown in together, and line endings ignored.
> How are you running the command?

cmd-R = Shell->Execute Current File in Window.

if [ ! -x "${TM_FILEPATH}" ]
then
	echo "Cannot execute '${TM_FILEPATH}' : permission error"
else
	"${TM_FILEPATH}"
fi

it outputs to an HTML window, but it ain't pretty.

---
Bruno





More information about the textmate mailing list