Browse code

Merge pull request #784 from lnxbil/967e84ebaa180ad2ab1eebc9a512f94d93e84aea

multiple version should also be highlighted

Robby Russell authored on 10/01/2012 at 04:56:25
Showing 1 changed files
... ...
@@ -37,7 +37,7 @@ function gems {
37 37
 	local current_gemset=`rvm-prompt g`
38 38
 
39 39
 	gem list $@ | sed \
40
-		-Ee "s/\([0-9\.]+( .+)?\)/$fg[blue]&$reset_color/g" \
40
+		-Ee "s/\([0-9, \.]+( .+)?\)/$fg[blue]&$reset_color/g" \
41 41
 		-Ee "s|$(echo $rvm_path)|$fg[magenta]\$rvm_path$reset_color|g" \
42 42
 		-Ee "s/$current_ruby@global/$fg[yellow]&$reset_color/g" \
43 43
 		-Ee "s/$current_ruby$current_gemset$/$fg[green]&$reset_color/g"