grep/colorgrep.sh
Petr Šabata a5ad1f63bd RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/grep#15ff98af0f77e3b21d2c74251051860f8513d4a7
2020-10-15 09:46:50 +02:00

8 lines
201 B
Bash

# color-grep initialization
/usr/libexec/grepconf.sh -c || return
alias grep='grep --color=auto' 2>/dev/null
alias egrep='egrep --color=auto' 2>/dev/null
alias fgrep='fgrep --color=auto' 2>/dev/null