summaryrefslogtreecommitdiff
path: root/themes/macovsky.zsh-theme
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2013-04-23 20:57:24 -0700
committerRobby Russell <robby@planetargon.com>2013-04-23 20:57:24 -0700
commit8890df12510ee39287c6d0669134c29f05e8e56b (patch)
tree84b7d0a21c7cf31302a6e82cd2dd21821945d2d9 /themes/macovsky.zsh-theme
parentb035662e4c835f8b1ca81636a5a265d1a3394d17 (diff)
parentb62a3e89602bca23b794dd1e808d92a89880ad3f (diff)
downloadzsh-8890df12510ee39287c6d0669134c29f05e8e56b.tar.gz
zsh-8890df12510ee39287c6d0669134c29f05e8e56b.tar.bz2
zsh-8890df12510ee39287c6d0669134c29f05e8e56b.zip
Merge pull request #922 from sbfaulkner/master
patch rbenv support for themes
Diffstat (limited to 'themes/macovsky.zsh-theme')
-rw-r--r--themes/macovsky.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/macovsky.zsh-theme b/themes/macovsky.zsh-theme
index b6978b929..2e6dce42d 100644
--- a/themes/macovsky.zsh-theme
+++ b/themes/macovsky.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