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

4 lines
345 B
Fish

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