From d1ccc6375e626e43c320e7dc7c2a0c1f0bb53dd6 Mon Sep 17 00:00:00 2001 From: Eric Bouchut Date: Tue, 24 Jan 2012 14:20:47 +0100 Subject: [PATCH] Fixed RPROMPT: RVM version is not updated --- themes/ebouchut.zsh-theme | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/themes/ebouchut.zsh-theme b/themes/ebouchut.zsh-theme index 70cd856ae..1fde4a32d 100644 --- a/themes/ebouchut.zsh-theme +++ b/themes/ebouchut.zsh-theme @@ -34,8 +34,8 @@ ZSH_THEME_GIT_PROMPT_SHA_AFTER="%{$reset_color%}]" local username="%{$fg_bold[green]%}%n%{$reset_color%}" local hostname="%{$fg_bold[magenta]%}%m%{$reset_color%}" local current_dir="%{$fg_bold[blue]%}%~%{$reset_color%}" -local cmd_status="%(?,%{$fg[green]%}☺%{$reset_color%},%{$fg[red]%}☹%{$reset_color%})" -local rvm_config=$(~/.rvm/bin/rvm-prompt) +local cmd_status="%(?,%{$fg_bold[green]%}☺%{$reset_color%},%{$fg_bold[red]%}☹%{$reset_color%})" + # Left prompt: username@hostname:current_directory PROMPT=' @@ -44,4 +44,4 @@ ${cmd_status} ' # Right prompt when in a git repo: rvm_config ±‹branch_name clean_or_dirty› status(ahead) [short_sha] -RPROMPT='${rvm_config} $(git_prompt_info)$(git_prompt_status)$(git_prompt_ahead)$(git_prompt_short_sha)' +RPROMPT='$(~/.rvm/bin/rvm-prompt) $(git_prompt_info)$(git_prompt_status)$(git_prompt_ahead)$(git_prompt_short_sha)'