2
0
Fork 0
mirror of https://github.com/fish-shell/fish-shell synced 2025-01-15 06:24:01 +00:00
fish-shell/share/functions/grep.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