1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-16 07:13:53 -05:00

speed up rbenv-init

Use `rbenv-commands` instead of `rbenv commands`. The latter
unnecessarily goes through `rbenv` executable.

Fixes #254
This commit is contained in:
Ruben Verborgh
2012-08-13 19:08:39 +02:00
committed by Mislav Marohnić
parent 349236c932
commit cf28136003

View File

@@ -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 <<EOS
rbenv() {