function grep
	if which ggrep >/dev/null ^&1
		command ggrep --color=auto $argv
	else
		command grep --color=auto $argv
	end
end
