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

4 lines
345 B
Fish
Raw Normal View History

function grf --description 'Search within a file with grep with context'
2022-04-12 14:11:50 +02:00
grep --color=always -C 10 --group-separator="---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------" $argv | less -R
end