Archive for the ‘unix’ Category

Ignore all those subversion copies

June 11, 2007

I’ve been grepping the DrProject source frequently, and I’m getting double the results, one from the real file and one from the .svn copy, which is annoying and clutters up my results. Here’s a zsh function to automatically ignore the subversion directories:

rgrep $@ | grep -v svn