From bad879e7731834984d10e2f86167280817c52c16 Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Thu, 3 Oct 2013 15:23:31 -0700 Subject: [PATCH] Expand deepgrep alias --- bash/aliases | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash/aliases b/bash/aliases index 13116ad..103aa59 100644 --- a/bash/aliases +++ b/bash/aliases @@ -66,7 +66,7 @@ alias curl-headers='curl -s -v -I ' alias take='sudo chown `whoami`:`whoami` ' alias simple-http-server='python -m SimpleHTTPServer' alias numfiles='find . -maxdepth 1 -type f | wc -l' -alias deepgrep='find . -type f | sed "s/$/\"/g" | sed "s/^/\"/g" | xargs grep --color ' +alias deepgrep='find . -type f -not -name "*.swp" -not -name "*.pyc" | sed "s/$/\"/g" | sed "s/^/\"/g" | xargs grep --color ' # Show list of git branches alias git-br='for k in `git branch|perl -pe s/^..//`; do echo -e ` git show --pretty=format:"%Cgreen%ci %Cblue%cr%Creset" $k|head -n 1`\\t$k;done|sort -r'