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