dotfiles/fish/.config/fish/functions/grf.fish

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

4 lines
345 B
Fish
Raw Permalink Normal View History

function grf --description 'Search within a file with grep with context'
grep --color=always -C 10 --group-separator="---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------" $argv | less -R
end