Kaynağa Gözat

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 yıl önce
işlemeyi yapan: Mislav Marohnić
ebeveyn
işleme
cf28136003
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. +1
    -1
      libexec/rbenv-init

+ 1
- 1
libexec/rbenv-init Dosyayı Görüntüle

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

Yükleniyor…
İptal
Kaydet