Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Open The Current Ruby On Rails Directory In TextMate Without Tmp, Log And Cache

DZone's Guide to

Open The Current Ruby On Rails Directory In TextMate Without Tmp, Log And Cache

· ·
Free Resource
ls -1 | egrep -vi "(log|tmp|cache)" | xargs mate
Instead of typing this everytime an alias would be handy. Put this

alias railsmate='ls -1 | egrep -vi "(log|tmp|cache)" | xargs mate'
in your ~/.profile or wherever you put your aliases.
Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}