Ver código fonte

iterate over all matching plugins, not just the first

pull/360/head^2
Jamis Buck 15 anos atrás
pai
commit
5d8c40444d
3 arquivos alterados com 3 adições e 3 exclusões
  1. +1
    -1
      libexec/rbenv-exec
  2. +1
    -1
      libexec/rbenv-rehash
  3. +1
    -1
      libexec/rbenv-which

+ 1
- 1
libexec/rbenv-exec Ver arquivo

@ -12,7 +12,7 @@ shopt -s nullglob
RBENV_EXEC_PLUGINS=(/etc/rbenv.d/exec/*.bash ${HOME}/.rbenv/rbenv.d/exec/*.bash)
shopt -u nullglob
for script in $RBENV_EXEC_PLUGINS; do
for script in ${RBENV_EXEC_PLUGINS[@]}; do
source $script
done

+ 1
- 1
libexec/rbenv-rehash Ver arquivo

@ -23,6 +23,6 @@ shopt -s nullglob
RBENV_REHASH_PLUGINS=(/etc/rbenv.d/rehash/*.bash ${HOME}/.rbenv/rbenv.d/rehash/*.bash)
shopt -u nullglob
for script in $RBENV_REHASH_PLUGINS; do
for script in ${RBENV_REHASH_PLUGINS[@]}; do
source $script
done

+ 1
- 1
libexec/rbenv-which Ver arquivo

@ -8,7 +8,7 @@ shopt -s nullglob
RBENV_WHICH_PLUGINS=(/etc/rbenv.d/which/*.bash ${HOME}/.rbenv/rbenv.d/which/*.bash)
shopt -u nullglob
for script in $RBENV_WHICH_PLUGINS; do
for script in ${RBENV_WHICH_PLUGINS[@]}; do
source $script
done

Carregando…
Cancelar
Salvar