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