grep/colorgrep.sh
2022-05-26 09:13:37 -04: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