7a41498b0d4f68c537d494b5f849913361315fde
- Author
- Robby Russell <robby@planetargon.com>
- Committer
- Robby Russell <robby@planetargon.com>
- Date
Message
Merge pull request #784 from lnxbil/967e84ebaa180ad2ab1eebc9a512f94d93e84aea
multiple version should also be highlighted
Diff
1diff --git a/plugins/rvm/rvm.plugin.zsh b/plugins/rvm/rvm.plugin.zsh
2index 24621fe0b57e02b76d3179241ee2c78fc53934eb..604c0071393b07f0edcc6dbd80a4c6b0d290e7cd 100644
3--- a/plugins/rvm/rvm.plugin.zsh
4+++ b/plugins/rvm/rvm.plugin.zsh
5@@ -37,7 +37,7 @@ function gems {
6 local current_gemset=`rvm-prompt g`
7
8 gem list $@ | sed \
9- -Ee "s/\([0-9\.]+( .+)?\)/$fg[blue]&$reset_color/g" \
10+ -Ee "s/\([0-9, \.]+( .+)?\)/$fg[blue]&$reset_color/g" \
11 -Ee "s|$(echo $rvm_path)|$fg[magenta]\$rvm_path$reset_color|g" \
12 -Ee "s/$current_ruby@global/$fg[yellow]&$reset_color/g" \
13 -Ee "s/$current_ruby$current_gemset$/$fg[green]&$reset_color/g"