From f60631992d7bcb5ed70ebb5bd05c8862d830c9be Mon Sep 17 00:00:00 2001 From: Jonathan Schleifer Date: Sat, 15 Aug 2020 15:52:57 +0000 Subject: [PATCH] Only apply flgrep to current directory & children --- zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zshrc b/zshrc index 8542f37..f34e282 100644 --- a/zshrc +++ b/zshrc @@ -227,7 +227,7 @@ if which fossil &>/dev/null; then flgrep() { local ret=1 - fossil changes --all | sed 's/^.* //' | while read file; do + fossil changes --all . | sed 's/^.* //' | while read file; do grep -H "$@" "$file" && ret=0 [ $? -gt 1 ] && return $? done