iankelling.org
/
git
/
distro-setup
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4fa8b7
)
small fix
author
Ian Kelling
<ian@iankelling.org>
Tue, 11 Mar 2025 03:45:57 +0000
(23:45 -0400)
committer
Ian Kelling
<ian@iankelling.org>
Tue, 11 Mar 2025 03:45:57 +0000
(23:45 -0400)
brc
patch
|
blob
|
history
diff --git
a/brc
b/brc
index aff932d17e918efe04a643917c025dc5a9ae655e..61acff4543c12d9d1f42af1b8195c6153435ab04 100644
(file)
--- 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.