2006-02-20 23:02:03 +10:00
|
|
|
#
|
|
|
|
# Match colors for grep, if supported
|
|
|
|
#
|
|
|
|
|
2016-02-20 10:26:50 -08:00
|
|
|
if echo | command grep --color=auto "" >/dev/null 2>&1
|
2014-11-25 08:47:30 +08:00
|
|
|
function grep
|
|
|
|
command grep --color=auto $argv
|
2006-02-20 23:02:03 +10:00
|
|
|
end
|
|
|
|
end
|