prezto_config/lib/grep.zsh

5 lines
167 B
Bash
Raw Normal View History

2011-02-27 16:13:57 +01:00
if [[ "$DISABLE_COLOR" != "true" ]]; then
[[ -z "$GREP_OPTIONS" ]] && export GREP_OPTIONS='--color=auto'
[[ -z "$GREP_COLOR" ]] && export GREP_COLOR='1;32'
fi