multiple version should also be highlighted
Robby Russell authored on 10/01/2012 at 04:56:25... | ... |
@@ -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" |