]> git.phdru.name Git - dotfiles.git/commitdiff
Minor refactoring
authorOleg Broytman <phd@phdru.name>
Fri, 17 Jan 2014 22:22:38 +0000 (02:22 +0400)
committerOleg Broytman <phd@phdru.name>
Fri, 17 Jan 2014 22:22:38 +0000 (02:22 +0400)
bin/find_home_grep.sh

index dc9e1089b318ccb5bc4bf2bc2fcfa6017b358380..b15636cf0f5054e43c847f5a4678dd65b13ded8a 100755 (executable)
@@ -1,4 +1,4 @@
 #! /bin/sh
 
 #! /bin/sh
 
-cd "$HOME" &&
-exec cgmem_nice 100 find . \( -type d \( -name CVS -o -name .svn -o -name .hg -o -name .git -o -path ./.cache/chromium/\* -o -path ./.cache/mozilla/\* -o -path ./Internet/WWW/htdocs/doc/\* -o -path ./archive/STORE/\* -o -path ./current/Bregis/nobackup/\* -o -path ./media/\* -o -path ./mnt/\*\* \) -prune \) -o -type f -exec grep -I "$@" '{}' \+ 2>/dev/null
+cd "$HOME" && exec cgmem_nice 100 \
+find . \( -type d \( -name CVS -o -name .svn -o -name .git -o -name .hg -o -path ./.cache/chromium/\* -o -path ./.cache/mozilla/\* -o -path ./Internet/WWW/htdocs/doc/\* -o -path ./archive/STORE/\* -o -path ./current/Bregis/nobackup/\* -o -path ./media/\* -o -path ./mnt/\*\* \) -prune \) -o -type f -exec grep -I "$@" '{}' \+ 2>/dev/null