summaryrefslogtreecommitdiff
path: root/themes/wuffers.zsh-theme
diff options
context:
space:
mode:
authorBrent Faulkner <brent.faulkner@mosaic.com>2012-01-23 20:42:54 -0500
committerBrent Faulkner <brent.faulkner@mosaic.com>2012-01-23 20:42:54 -0500
commit6496acf58bf8531809490b52e34811f74a27cc7c (patch)
tree56607cbfdd2e9fc12dbbcf55b2a8b132f807e5ab /themes/wuffers.zsh-theme
parentac910b85bd782ec7a033b67bab7be63785d063c2 (diff)
downloadzsh-6496acf58bf8531809490b52e34811f74a27cc7c.tar.gz
zsh-6496acf58bf8531809490b52e34811f74a27cc7c.tar.bz2
zsh-6496acf58bf8531809490b52e34811f74a27cc7c.zip
adding rbenv support to all the rvm themes
Diffstat (limited to 'themes/wuffers.zsh-theme')
-rw-r--r--themes/wuffers.zsh-theme2
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%} '