summaryrefslogtreecommitdiff
path: root/plugins/rvm
diff options
context:
space:
mode:
authorfred-o <fredrik.appelberg@gmail.com>2012-01-16 09:58:03 +0100
committerfred-o <fredrik.appelberg@gmail.com>2012-01-16 09:58:03 +0100
commitf5041025844a2509f42e0bb19cb8d5418340e10c (patch)
treed810a157291582707ef3c41e934830c4138fccb4 /plugins/rvm
parente24230cbfb766320fa13fcda6c1adb60028288f4 (diff)
parent7a41498b0d4f68c537d494b5f849913361315fde (diff)
downloadzsh-f5041025844a2509f42e0bb19cb8d5418340e10c.tar.gz
zsh-f5041025844a2509f42e0bb19cb8d5418340e10c.tar.bz2
zsh-f5041025844a2509f42e0bb19cb8d5418340e10c.zip
Merge branch 'master' of https://github.com/robbyrussell/oh-my-zsh
Diffstat (limited to 'plugins/rvm')
-rw-r--r--plugins/rvm/rvm.plugin.zsh2
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"