contributing to open source? need to search & understand ruby code faster? This bash function should save you some time. I use it atleast 50-60 times a day.
Stick this in your .bashrc:
function rgrep() { find -L . -type f -name \*.rb -exec grep -n -i -H --color "$1" {} \; }
Use like: $ rgrep “something”
Thanks!
This is much cleaner than how I was doing it.