X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=brc;h=2fbce5534d3f8b116fba0573d6c37742d7ca1e40;hb=6d5461af9e4266473dd5c53863b7c97e254d8348;hp=4a6f67274a44f98b5be8b9b88b5e11fbf1327d6b;hpb=3e5e60efe20de2e109ad48745a5dcee04d7417a1;p=distro-setup diff --git a/brc b/brc index 4a6f672..2fbce55 100644 --- a/brc +++ b/brc @@ -1672,9 +1672,9 @@ grr() { # grep recursive # Don't return 1 on nonmatch because this is meant to be # interactive, not in a conditional. if [[ ${#@} == 1 ]]; then - grep -E --exclude-dir='*.emacs.d' --exclude-dir='*.git' -riIP --color=auto "$@" . || [[ $? == 1 ]] + grep --exclude-dir='*.emacs.d' --exclude-dir='*.git' -riIP --color=auto "$@" . || [[ $? == 1 ]] else - grep -E --exclude-dir='*.emacs.d' --exclude-dir='*.git' -riIP --color=auto "$@" || [[ $? == 1 ]] + grep --exclude-dir='*.emacs.d' --exclude-dir='*.git' -riIP --color=auto "$@" || [[ $? == 1 ]] fi } ccomp grep gr grr