Over a million developers have joined DZone.

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

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.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}