function grep if type -q ggrep command ggrep --color=auto $argv else command grep --color=auto $argv end end