summaryrefslogtreecommitdiff
path: root/plugins/rvm
diff options
context:
space:
mode:
authorTim O'Brien <timo@t413.com>2015-09-14 15:39:18 -0700
committerTim O'Brien <timo@t413.com>2015-09-14 15:39:18 -0700
commite8639c700ebbf8aa416c0d14c8e3a292f1062dd7 (patch)
tree7705714541cc8781a1be7e1d2343d34e5e8aa9b1 /plugins/rvm
parent797e1f9a64c0d2775723bb28c76745b327f86d56 (diff)
parent9c08641d7c2aae0c82fa5ad91f94c67b70115ba5 (diff)
downloadzsh-e8639c700ebbf8aa416c0d14c8e3a292f1062dd7.tar.gz
zsh-e8639c700ebbf8aa416c0d14c8e3a292f1062dd7.tar.bz2
zsh-e8639c700ebbf8aa416c0d14c8e3a292f1062dd7.zip
Update to current robbyrussell/oh-my-zsh master
Diffstat (limited to 'plugins/rvm')
-rw-r--r--plugins/rvm/rvm.plugin.zsh10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/rvm/rvm.plugin.zsh b/plugins/rvm/rvm.plugin.zsh
index 234ac1642..53e809aaf 100644
--- a/plugins/rvm/rvm.plugin.zsh
+++ b/plugins/rvm/rvm.plugin.zsh
@@ -61,11 +61,11 @@ function gems {
local current_ruby=`rvm-prompt i v p`
local current_gemset=`rvm-prompt g`
- gem list $@ | sed \
- -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"
+ gem list $@ | sed -E \
+ -e "s/\([0-9, \.]+( .+)?\)/$fg[blue]&$reset_color/g" \
+ -e "s|$(echo $rvm_path)|$fg[magenta]\$rvm_path$reset_color|g" \
+ -e "s/$current_ruby@global/$fg[yellow]&$reset_color/g" \
+ -e "s/$current_ruby$current_gemset$/$fg[green]&$reset_color/g"
}
function _rvm_completion {