Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > c4be40fd351244fb89d9115d79a3943d > files > 6

grep-2.9-1.fc15.i686.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
alias egrep='egrep --color=auto' 2>/dev/null
alias fgrep='fgrep --color=auto' 2>/dev/null