From: Ian Kelling Date: Tue, 11 Mar 2025 03:45:57 +0000 (-0400) Subject: small fix X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;h=3d76a0cc212e44d0d675107f14332b7ad0e99089;p=distro-setup small fix --- diff --git a/brc b/brc index aff932d..61acff4 100644 --- a/brc +++ b/brc @@ -1920,8 +1920,8 @@ re() { query="$1" find "$@" -not \( -name .svn -prune -o -name .git -prune \ -o -name .hg -prune -o -name .editor-backups -prune \ - -o -name .undo-tree-history -prune \) 2>/dev/null | grep -iP --color=auto "$query" - grr -m 5 "$@" + -o -name .undo-tree-history -prune \) 2>/dev/null | grep -iP --color=auto "$query" ||: + grr -m 5 "$@" || return $? } # highlighted echo.