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