1
1
Fork 0
configs/fish/functions/flgrep.fish

8 lines
210 B
Fish

function flgrep
set -l ret
fossil changes --all . | sed 's/^.* //' | while read file
grep -H $argv "$file" && set ret 0
test $status -gt 1 && return $status
end
return $ret
end