1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-11-20 13:11:13 +00:00
prezto/lib/grep.zsh

13 lines
260 B
Bash
Raw Normal View History

if [[ "$DISABLE_COLOR" != 'true' ]]; then
if [[ -z "$GREP_OPTIONS" ]]; then
export GREP_OPTIONS='--color=auto'
fi
if [[ -z "$GREP_COLOR" ]]; then
export GREP_COLOR='37;45'
fi
else
export GREP_OPTIONS='--color=none'
export GREP_COLOR=''
2011-02-27 15:13:57 +00:00
fi