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/lib/grep.zsh
Sorin Ionescu ec4f279445 Merged custom/ and lib/.
Conflicts:

	custom/aliases.zsh
	custom/functions.zsh
	custom/grep.zsh
2011-05-30 18:39:04 -04:00

9 lines
176 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