ndbroadbent/scm_breeze — pull request #60 by g5pw (2012-10-22 17:48:03+00:00)
Title: ZSH and OS X compatibility

Hello!
This pull request addresses some minor issues with the shell_shortcuts.sh.
* I am on OS X and use GNU coreutils, so I have GNU ls and readlink. I updated the code to check the actual commands (like, say, duck typing) and not architecture.
* the ls_with_file_shortcuts function was failing due on ZSH due to missing sh_word_split option
* ls_with_file_shortcuts was failing on ZSH due to eval interpreting the $_ll_command as a whole command, and of course a file named "ls -G" was not found in path :)

Please feel free to comment/amend my code as you will.