mirror of
https://github.com/rbenv/rbenv.git
synced 2024-12-29 13:15:42 +01: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:
parent
349236c932
commit
cf28136003
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue