From deb452e823876e26bc91947fdd55f75873b02c1d Mon Sep 17 00:00:00 2001 From: JT Zemp Date: Mon, 20 Sep 2010 21:58:37 -0600 Subject: [PATCH] Cleanup of the jtzemp theme also added rvm_with_gemset function to the prompt so I know which gemset is in use. --- themes/jtzemp.zsh-theme | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/themes/jtzemp.zsh-theme b/themes/jtzemp.zsh-theme index 21542a89c..4a994c29a 100644 --- a/themes/jtzemp.zsh-theme +++ b/themes/jtzemp.zsh-theme @@ -3,8 +3,8 @@ # Grab the current date (%D) and time (%T) wrapped in {}: {%D %T} JTZEMP_CURRENT_TIME_="%{$fg[blue]%}[%{$fg[red]%}%T%{$fg[blue]%}]%{$reset_color%}" -# Grab the current version of ruby in use (via RVM): [ruby-1.8.7] -JTZEMP_CURRENT_RUBY_="%{$fg[blue]%}[%{$fg[red]%}\$(~/.rvm/bin/rvm-prompt s i v)%{$fg[blue]%}]%{$reset_color%}" +# Grab the current version of ruby in use (via RVM): [ruby-1.8.7@rails2] +JTZEMP_CURRENT_RUBY_="%{$fg[blue]%}[%{$fg[red]%}\$(rvm_with_gemset)%{$fg[blue]%}]%{$reset_color%}" # Grab the current machine name: muscato JTZEMP_CURRENT_MACH_="%{$fg[green]%}%m%{$fg[white]%}:%{$reset_color%}" @@ -13,7 +13,7 @@ JTZEMP_CURRENT_MACH_="%{$fg[green]%}%m%{$fg[white]%}:%{$reset_color%}" # Append the current git branch, if in a git repository: ~aw@master JTZEMP_CURRENT_LOCA_="%{$fg[cyan]%}%~\$(git_prompt_info)%{$reset_color%}" -# Grab the current username: dallas +# Grab the current username JTZEMP_CURRENT_USER_="%{$fg[green]%}%n@%{$reset_color%}" # Use a % for normal users and a # for privelaged (root) users. @@ -30,7 +30,6 @@ ZSH_THEME_GIT_PROMPT_CLEAN="" # Add 3 red ✗s if this branch is diiirrrty! Dirty branch! ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%} ✗✗✗" -#ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%} !" # Put it all together!