Procházet zdrojové kódy

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 před 12 roky
odevzdal Mislav Marohnić
rodič
revize
cf28136003
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      libexec/rbenv-init

+ 1
- 1
libexec/rbenv-init Zobrazit soubor

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

Načítá se…
Zrušit
Uložit