The gls
command uses the iTerm2 (version 3 beta) image capability to display Finder's file icons in the terminal.
The current version is very basic, with no support for any of the ls
options.
Make sure you are using the lastest beta of iTerm2 version 3.
$ brew install https://raw.githubusercontent.com/rs/homebrew/gls/Library/Formula/gls.rb
For El Capitan users:
$ brew install --HEAD https://raw.githubusercontent.com/rs/homebrew/gls/Library/Formula/gls.rb
$ xcodebuild SYMROOT=build
$ install build/Release/gls /usr/local/bin