2006-02-20 21:02:03 +08:00
|
|
|
#
|
|
|
|
# Match colors for grep, if supported
|
|
|
|
#
|
|
|
|
|
2006-07-12 22:22:42 +08: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 21:02:03 +08:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|