function fgrep if which ggrep >/dev/null command ggrep -F --color=auto $argv else command fgrep --color=auto $argv end end