2006-02-20 23:02:03 +10:00
|
|
|
#
|
|
|
|
# Match colors for grep, if supported
|
|
|
|
#
|
|
|
|
|
2006-07-13 00:22:42 +10:00
|
|
|
if command grep --color=auto --help 1>/dev/null 2>/dev/null
|
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
|
|
|
|
|