Commit graph

4 commits

Author SHA1 Message Date
Andrew Janke
e0232d59ed Themes: switch to using ruby_prompt_info()
Changes themes displaying RVM or other Ruby version info to use the central ruby_prompt_info function. This supports more Ruby versioning mechanisms, reduces copy-and-paste code, and avoids "zsh: no such file or directory: /Users/username/.rvm/bin/rvm-prompt" when run on machines that do not have RVM installed.

Changes the prefix/suffix variable names to ZSH_THEME_RUBY_PROMPT_PREFIX and ZSH_THEME_RUBY_PROMPT_SUFFIX, since they apply to all Ruby versioning mechanisms, not just RVM.

Allows empty ZSH_THEME_RUBY_PROMPT_PREFIX and ZSH_THEME_RUBY_PROMPT_SUFFIX.
2015-11-06 17:20:11 -05:00
Brent Faulkner
6496acf58b adding rbenv support to all the rvm themes 2012-01-23 20:42:54 -05:00
Corey Donohoe
5a957c4d2e support non-standard rvm install prefixes 2011-04-21 15:53:44 -07:00
Ubiratan Pires Alberton
72d7c0363c Added my own theme, based on macovsky-ruby and funky 2010-11-14 10:21:28 -02:00