aboutsummaryrefslogtreecommitdiff
path: root/fish/functions/rvg.fish
blob: ba85eb3629a2289331db71c4710a06679c26ea32 (plain)
1
2
3
4
5
6
7
function rvg --wraps=rg --description 'ripvimgrep, a wrapper for ripgrep(1) to use vimgrep'
    if not command --query rg
        return 127
    end

    command rg --vimgrep $argv
end