summaryrefslogtreecommitdiff
path: root/themes/macovsky-ruby.zsh-theme
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2013-04-23 20:58:47 -0700
committerRobby Russell <robby@planetargon.com>2013-04-23 20:58:47 -0700
commitcd0908917c2e6edc9f17f74851023b9bbe615132 (patch)
tree3d572ad64c1433e4b3d2fdaa3142c4b6558fd98f /themes/macovsky-ruby.zsh-theme
parent8ce587ad9a90bfc0081a30bb06abed36509fd692 (diff)
parent8890df12510ee39287c6d0669134c29f05e8e56b (diff)
downloadzsh-cd0908917c2e6edc9f17f74851023b9bbe615132.tar.gz
zsh-cd0908917c2e6edc9f17f74851023b9bbe615132.tar.bz2
zsh-cd0908917c2e6edc9f17f74851023b9bbe615132.zip
Merge branch 'master' of github.com:robbyrussell/oh-my-zsh
Diffstat (limited to 'themes/macovsky-ruby.zsh-theme')
-rw-r--r--themes/macovsky-ruby.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/macovsky-ruby.zsh-theme b/themes/macovsky-ruby.zsh-theme
index 045376761..69d80d588 100644
--- a/themes/macovsky-ruby.zsh-theme
+++ b/themes/macovsky-ruby.zsh-theme
@@ -1,7 +1,7 @@
# ZSH Theme - Preview: http://gyazo.com/8becc8a7ed5ab54a0262a470555c3eed.png
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
-if which rvm-prompt &> /dev/null; then
+if [ -e ~/.rvm/bin/rvm-prompt ]; then
PROMPT='%{$fg[green]%}%~%{$reset_color%} %{$fg[red]%}‹$(~/.rvm/bin/rvm-prompt i v)› %{$reset_color%} $(git_prompt_info)%{$reset_color%}%B$%b '
else
if which rbenv &> /dev/null; then