Browse Source

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 years ago
committed by Mislav Marohnić
parent
commit
cf28136003
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libexec/rbenv-init

+ 1
- 1
libexec/rbenv-init View File

@ -82,7 +82,7 @@ if [ -z "$no_rehash" ]; then
echo 'rbenv rehash 2>/dev/null' echo 'rbenv rehash 2>/dev/null'
fi fi
commands=(`rbenv commands --sh`)
commands=(`rbenv-commands --sh`)
IFS="|" IFS="|"
cat <<EOS cat <<EOS
rbenv() { rbenv() {

Loading…
Cancel
Save