mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-14 14:23:53 -05:00
iterate over all matching plugins, not just the first
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user