From 3d76a0cc212e44d0d675107f14332b7ad0e99089 Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Mon, 10 Mar 2025 23:45:57 -0400 Subject: [PATCH] small fix --- brc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. -- 2.30.2