mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-15 17:28:19 +00:00
9 lines
156 B
Fish
9 lines
156 B
Fish
#
|
|
# Match colors for grep, if supported
|
|
#
|
|
|
|
if echo | command grep --color=auto "" >/dev/null 2>&1
|
|
function grep
|
|
command grep --color=auto $argv
|
|
end
|
|
end
|