From f9225d9cb445cfb24daac4258e1328c0262e3184 Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Tue, 23 Aug 2011 11:34:42 -0500 Subject: [PATCH] Define lightweight rbenv shell function to dispatch commands --- libexec/rbenv-init | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/libexec/rbenv-init b/libexec/rbenv-init index 3e670372..29daa10c 100755 --- a/libexec/rbenv-init +++ b/libexec/rbenv-init @@ -66,3 +66,18 @@ bash | zsh ) esac echo 'rbenv rehash 2>/dev/null' + +commands=(`rbenv commands --sh`) +IFS="|" +cat <