TextMate Matey

Matey is a little script I use to avoid having to type “| mate -” all the time.

It looks like this:

exec 2>&1
exec "[email protected]" | mate -

And it is used like this:

matey curl google.com

(Download the page at google.com and open it in TextMate.)


If you have some frequently used commandos you can add them as aliases:

alias curlmate="matey curl" 
alias diffmate="matey diff -purN"