[zsh] cgrep look into .hpp

This commit is contained in:
Mathieu Maret 2014-09-01 14:36:19 +02:00 committed by Mathieu Maret
parent aff38ab72a
commit c4e4cd5b03
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ mgrep () {
}
cgrep () {
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 "$@"
find . -name .repo -prune -o -name .git -prune -o -type f \( -name '*.c' -o -name '*.cc' -o -name '*.cpp' -o -name '*.h' -o -name '*.hpp' \) -print0 | xargs -0 grep --color -n "$@"
}
jgrep () {