diff --git a/envsetup.sh b/envsetup.sh index ebf2cdc4d..972578f44 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -1366,7 +1366,7 @@ function jgrep() function cgrep() { - find . -name .repo -prune -o -name .git -prune -o -name out -prune -o -type f \( -name '*.c' -o -name '*.cc' -o -name '*.cpp' -o -name '*.h' \) -print0 | xargs -0 grep --color -n "$@" + find . -name .repo -prune -o -name .git -prune -o -name out -prune -o -type f \( -name '*.c' -o -name '*.cc' -o -name '*.cpp' -o -name '*.h' -o -name '*.hpp' \) -print0 | xargs -0 grep --color -n "$@" } function resgrep()