From ef4111e9b0494643c2655692bb10650ea5e54b89 Mon Sep 17 00:00:00 2001 From: Victor Castell Date: Sat, 5 Nov 2011 13:20:00 +0100 Subject: [PATCH] rbenv plugin --- plugins/available/rbenv.bash | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 plugins/available/rbenv.bash diff --git a/plugins/available/rbenv.bash b/plugins/available/rbenv.bash new file mode 100644 index 0000000..6fd8f10 --- /dev/null +++ b/plugins/available/rbenv.bash @@ -0,0 +1,13 @@ +#!/bin/bash + +# Load rbebv, if you are using it +export PATH="$HOME/.rbenv/bin:$PATH" +eval "$(rbenv init -)" + +# Check to make sure that RVM is actually loaded before adding +# the customizations to it. +if [ "$rvm_path" ] +then + # Load the auto-completion script if rbenv was loaded. + source ~/.rbenv/completions/rbenv.bash +fi \ No newline at end of file -- 2.17.1