From 7a80152d5f54a055eb08756cbe279f2a513b73a0 Mon Sep 17 00:00:00 2001 From: James Ottaway Date: Sat, 27 Aug 2011 02:00:41 +1000 Subject: [PATCH] Source RVM directly rather than relying on .zshrc or even .bashrc, and let people have their own patch versions --- plugins/rvm/rvm.plugin.zsh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/rvm/rvm.plugin.zsh b/plugins/rvm/rvm.plugin.zsh index 24621fe0b..b6a745b07 100644 --- a/plugins/rvm/rvm.plugin.zsh +++ b/plugins/rvm/rvm.plugin.zsh @@ -1,8 +1,10 @@ +[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" + alias rubies='rvm list rubies' alias gemsets='rvm gemset list' -local ruby18='ruby-1.8.7-p334' -local ruby19='ruby-1.9.2-p180' +local ruby18='ruby-1.8.7' +local ruby19='ruby-1.9.2' function rb18 { if [ -z "$1" ]; then