diff options
author | Andreas Steinel <A.Steinel@gmail.com> | 2011-12-29 02:22:40 +0100 |
---|---|---|
committer | Andreas Steinel <A.Steinel@gmail.com> | 2011-12-29 02:22:40 +0100 |
commit | 967e84ebaa180ad2ab1eebc9a512f94d93e84aea (patch) | |
tree | f04e3237362c5e15068a5fd7296a042e95cbd8e8 /plugins/rvm | |
parent | 3e9493fb301b7d34bb6861787d97067ec9365268 (diff) | |
download | zsh-967e84ebaa180ad2ab1eebc9a512f94d93e84aea.tar.gz zsh-967e84ebaa180ad2ab1eebc9a512f94d93e84aea.tar.bz2 zsh-967e84ebaa180ad2ab1eebc9a512f94d93e84aea.zip |
multiple versions could occur and should also be highlighted
Diffstat (limited to 'plugins/rvm')
-rw-r--r-- | plugins/rvm/rvm.plugin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/rvm/rvm.plugin.zsh b/plugins/rvm/rvm.plugin.zsh index 24621fe0b..604c00713 100644 --- a/plugins/rvm/rvm.plugin.zsh +++ b/plugins/rvm/rvm.plugin.zsh @@ -37,7 +37,7 @@ function gems { local current_gemset=`rvm-prompt g` gem list $@ | sed \ - -Ee "s/\([0-9\.]+( .+)?\)/$fg[blue]&$reset_color/g" \ + -Ee "s/\([0-9, \.]+( .+)?\)/$fg[blue]&$reset_color/g" \ -Ee "s|$(echo $rvm_path)|$fg[magenta]\$rvm_path$reset_color|g" \ -Ee "s/$current_ruby@global/$fg[yellow]&$reset_color/g" \ -Ee "s/$current_ruby$current_gemset$/$fg[green]&$reset_color/g" |