I have this as a bash function:
function gits() {
git grep -i -n --color $@ -- $(git rev-parse --show-toplevel);
}
If I run this:
gits def add_crumb
I want:
git grep -i -n --color "def add_crumb" -- $(git rev-parse --show-toplevel)
I have this as a bash function:
function gits() {
git grep -i -n --color $@ -- $(git rev-parse --show-toplevel);
}
If I run this:
gits def add_crumb
I want:
git grep -i -n --color "def add_crumb" -- $(git rev-parse --show-toplevel)