summaryrefslogtreecommitdiff
path: root/themes/murilasso.zsh-theme
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2012-01-25 18:14:29 -0800
committerRobby Russell <robby@planetargon.com>2012-01-25 18:14:29 -0800
commitb56e37201dd6cf00a667daa1f033cfb1b1669b4a (patch)
tree0be7579715d81186b2ba2c8361ff620eb544d878 /themes/murilasso.zsh-theme
parent9dc9cae55f5aa9ab12db71da64ab062906d8504b (diff)
parent6496acf58bf8531809490b52e34811f74a27cc7c (diff)
downloadzsh-b56e37201dd6cf00a667daa1f033cfb1b1669b4a.tar.gz
zsh-b56e37201dd6cf00a667daa1f033cfb1b1669b4a.tar.bz2
zsh-b56e37201dd6cf00a667daa1f033cfb1b1669b4a.zip
Merge pull request #860 from sbfaulkner/rbenv-support-for-themes
adding rbenv support to all the rvm themes
Diffstat (limited to 'themes/murilasso.zsh-theme')
-rw-r--r--themes/murilasso.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/murilasso.zsh-theme b/themes/murilasso.zsh-theme
index 310357b45..bc2b9b224 100644
--- a/themes/murilasso.zsh-theme
+++ b/themes/murilasso.zsh-theme
@@ -1,7 +1,7 @@
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
local user_host='%{$terminfo[bold]$fg[green]%}%n@%m%{$reset_color%}'
local current_dir='%{$terminfo[bold]$fg[blue]%}%~%{$reset_color%}'
-local rvm_ruby='%{$fg[red]%}$(rvm_prompt_info)%{$reset_color%}'
+local rvm_ruby='%{$fg[red]%}$(rvm_prompt_info || rbenv_prompt_info)%{$reset_color%}'
local git_branch='%{$fg[blue]%}$(git_prompt_info)%{$reset_color%}'
PROMPT="${user_host}:${current_dir} ${rvm_ruby}