From cf2813600391341ea13d927667b1f08cb0769610 Mon Sep 17 00:00:00 2001 From: Ruben Verborgh Date: Mon, 13 Aug 2012 19:08:39 +0200 Subject: [PATCH] speed up rbenv-init Use `rbenv-commands` instead of `rbenv commands`. The latter unnecessarily goes through `rbenv` executable. Fixes #254 --- libexec/rbenv-init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/rbenv-init b/libexec/rbenv-init index fae0739..95b6c40 100755 --- a/libexec/rbenv-init +++ b/libexec/rbenv-init @@ -82,7 +82,7 @@ if [ -z "$no_rehash" ]; then echo 'rbenv rehash 2>/dev/null' fi -commands=(`rbenv commands --sh`) +commands=(`rbenv-commands --sh`) IFS="|" cat <