This repository has been archived on 2022-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
prezto/custom/grep.zsh
2011-04-19 21:58:02 -04:00

8 lines
183 B
Bash

if [[ "$DISABLE_COLOR" != "true" ]]; then
export GREP_OPTIONS='--color=auto'
export GREP_COLOR='37;45'
else
export GREP_OPTIONS='--color=none'
export GREP_COLOR=''
fi