robbyrussell/oh-my-zsh — pull request #1836 by xuhdev (2013-05-20 22:26:03+00:00)
Title: Improve the `ls --color` detection on OS X

GNU command line tools installed by `homebrew` (probably the most popular package manager on OS X) are prefixed by `g`, thus we should detect `gls` instead of `ls` for `--color` switch.