grep with color

Wow, I didn’t realize until today that good ol’ GNU grep supports color highlighting. Up until now, I had been installing rgrep from the jed distribution everywhere so that I could get recursive grepping and highlighting. But GNU grep has both of these now, which means I just need to add:

alias grep='grep --recursive --color=auto'

One thought on “grep with color

Leave a Reply

Your email address will not be published. Required fields are marked *