Sophie

Sophie

distrib > Fedora > 15 > x86_64 > by-pkgid > 8f6f6c9a9aa8def1c42d62990b32113b > files > 3

grep-2.7-5.fc15.src.rpm

# color-grep initialization

# Skip the rest for noninteractive shells.
[ -z "$PS1" ] && return

if [ -r /etc/GREP_COLORS ]; then
    grep -qi "^COLOR.*none" /etc/GREP_COLORS >/dev/null 2>/dev/null && return
fi

alias grep='grep --color=auto' 2>/dev/null