From c4e4cd5b03232118c6ca05571ad62fbbbd8b4f26 Mon Sep 17 00:00:00 2001 From: Mathieu Maret Date: Mon, 1 Sep 2014 14:36:19 +0200 Subject: [PATCH] [zsh] cgrep look into .hpp --- .zsh/40_function.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zsh/40_function.zsh b/.zsh/40_function.zsh index 0683396..c15e91d 100755 --- a/.zsh/40_function.zsh +++ b/.zsh/40_function.zsh @@ -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 () {