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