Selaa lähdekoodia

speed up rbenv-init

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

Fixes #254
pull/360/head^2
Ruben Verborgh 12 vuotta sitten
committed by Mislav Marohnić
vanhempi
commit
cf28136003
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      libexec/rbenv-init

+ 1
- 1
libexec/rbenv-init Näytä tiedosto

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

Ladataan…
Peruuta
Tallenna