From 82cc9ae67fe9d0346a9105bff551bdfd00f05a86 Mon Sep 17 00:00:00 2001 From: Jesper Kjeldgaard Date: Tue, 12 Apr 2011 22:23:35 +0100 Subject: [PATCH] Removed ruby version from commandline. Found it to annoying in the long run. --- themes/thejspr.zsh-theme | 7 ------- 1 file changed, 7 deletions(-) diff --git a/themes/thejspr.zsh-theme b/themes/thejspr.zsh-theme index 0a093d7d2..fd5a15036 100644 --- a/themes/thejspr.zsh-theme +++ b/themes/thejspr.zsh-theme @@ -1,10 +1,3 @@ -# get ruby version from either rvm or system ruby. -if [[ -s ~/.rvm/scripts/rvm ]] ; then - RPS1="%{%}%{$reset_color%}%{$fg[red]%}\$(~/.rvm/bin/rvm-prompt i v g)%{$reset_color%}" -else - RPS1="%{$fg[red]%}\$(ruby -e 'print RUBY_VERSION')%{$reset_color%} $EPS1" -fi - ZSH_THEME_GIT_PROMPT_PREFIX="%{$reset_color%}%{$fg[green]%}[" ZSH_THEME_GIT_PROMPT_SUFFIX="]"