Created
June 27, 2013 15:29
-
-
Save eric-wood/5877440 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/zsh | |
# my awesome grep alias | |
function ff () { | |
grep "$@" -s -n -I -R . --color=always --exclude=\*.{data,swp,db,log,git,noun,adj,verb} | grep -v -E 'ckeditor'; | |
} | |
cd ~/community/app | |
for branch in $(git for-each-ref --format='%(refname)' refs/heads/ | grep msp); do | |
git checkout $branch > /dev/null | |
echo "CHECKING $branch..." | |
ff "_ESCAPE" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment