Created
July 14, 2009 14:44
-
-
Save benwyrosdick/146984 to your computer and use it in GitHub Desktop.
grep_edit script
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
#!/bin/sh | |
#grep_edit some_pattern [some_path] | |
# | |
#the path is optional ... for help with git grep command type: | |
#git help grep | |
git grep $1 $2 | cut -f1 -d: | uniq | xargs mvim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment