diff --git a/envsetup.sh b/envsetup.sh index 1443760ee..ebde85cf1 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -831,7 +831,7 @@ function jgrep() function cgrep() { - find .a -name .repo -prune -o -name .git -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 -type f \( -name '*.c' -o -name '*.cc' -o -name '*.cpp' -o -name '*.h' \) -print0 | xargs -0 grep --color -n "$@" } function resgrep()