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:
parent
349236c932
commit
cf28136003
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user