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

8 lines
213 B
Fish

function flgrep
set -l ret
fossil changes --all . | awk '{ print $2 }' | while read file
grep -H $argv "$file" && set ret 0
test $status -gt 1 && return $status
end
return $ret
end