diff options
author | Robby Russell <robby@planetargon.com> | 2012-01-25 18:14:29 -0800 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2012-01-25 18:14:29 -0800 |
commit | b56e37201dd6cf00a667daa1f033cfb1b1669b4a (patch) | |
tree | 0be7579715d81186b2ba2c8361ff620eb544d878 /themes/wuffers.zsh-theme | |
parent | 9dc9cae55f5aa9ab12db71da64ab062906d8504b (diff) | |
parent | 6496acf58bf8531809490b52e34811f74a27cc7c (diff) | |
download | zsh-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/wuffers.zsh-theme')
-rw-r--r-- | themes/wuffers.zsh-theme | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/wuffers.zsh-theme b/themes/wuffers.zsh-theme index 182d8a34f..4019d0a51 100644 --- a/themes/wuffers.zsh-theme +++ b/themes/wuffers.zsh-theme @@ -2,4 +2,4 @@ ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}[" ZSH_THEME_GIT_PROMPT_SUFFIX="]%{$reset_color%} " ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg_bold[red]%} x%{$fg_bold[blue]%}" -PROMPT='%{$(git_prompt_info)%}%{$fg_bold[green]%}{%{$(rvm current)%}}%{$reset_color%} %{$fg[cyan]%}%c%{$reset_color%} ' +PROMPT='%{$(git_prompt_info)%}%{$fg_bold[green]%}{%{$(rvm current 2>/dev/null || rbenv version-name 2>/dev/null)%}}%{$reset_color%} %{$fg[cyan]%}%c%{$reset_color%} ' |