[zsh] cgrep look into .hpp
This commit is contained in:
parent
aff38ab72a
commit
c4e4cd5b03
@ -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 () {
|
||||
|
Loading…
Reference in New Issue
Block a user