configs  Check-in [4c9e4c1a37]

Overview
Comment:Add flgrep.fish
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 4c9e4c1a372841e02a6153775d17eb1d23b9d254a9021f9ed5e15d07ea6efad5
User & Date: js 2020-08-18 21:20:23
Context
2020-08-23
12:07
Include user in prompt if not the normal user check-in: 50621c3061 user: js tags: trunk
2020-08-18
21:20
Add flgrep.fish check-in: 4c9e4c1a37 user: js tags: trunk
21:16
fld.fish: Fallback for when colordiff is missing check-in: 37f5866f0b user: js tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Added fish/functions/flgrep.fish.

















>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
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