mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -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:
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