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

3 lines
343 B
Fish

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