Add the following to the default bashrc or zshrc: export GREP_OPTIONS="--color=auto" This will have grep highlight matches in red (the default), a minor but useful enhancement to the default grep behavior. Reproducible: Always Steps to Reproduce: 1. add export GREP_OPTIONS='--color=auto' to your $HOME/.bashrc or $HOME/.zshrc 2. 3.
app-shells/bash : /etc/bash/bashrc:76: alias grep='grep --colour=auto' There you go - halfway there!
GREP_OPTIONS must not be used globally. I will be closing this one.