robbyrussell/oh-my-zsh — pull request #2619 by korylprince (2014-03-17 16:05:56+00:00)
Title: Don't show useless '[]' when chruby_prompt_info is empty

A recent update added some Ruby info to the gallois theme. I don't use Ruby, and I don't see any reason to have a useless `[]` on the right side of my prompt at all times.

This commit only put's the Ruby status there if `ruby_prompt_info` actually returns something.