Skip to content

Commit

Permalink
fixed rvm warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mennopruijssers authored and ncanceill committed Jun 8, 2014
1 parent 99c9dbe commit aee8877
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions themes/Soliah.zsh-theme
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@ function check_git_prompt_info() {

# Determine if we are using a gemset.
function rvm_gemset() {
GEMSET=`rvm gemset list | grep '=>' | cut -b4-`
if [[ -n $GEMSET ]]; then
echo "%{$fg[yellow]%}$GEMSET%{$reset_color%}|"
fi

if hash rvm 2>/dev/null; then
GEMSET=`rvm gemset list | grep '=>' | cut -b4-`
if [[ -n $GEMSET ]]; then
echo "%{$fg[yellow]%}$GEMSET%{$reset_color%}|"
fi
fi
}

# Determine the time since last commit. If branch is clean,
Expand Down

0 comments on commit aee8877

Please sign in to comment.