diff --git a/libexec/rbenv-plugin-scripts b/libexec/rbenv-plugin-scripts index e77c8719..2bc5bfdf 100755 --- a/libexec/rbenv-plugin-scripts +++ b/libexec/rbenv-plugin-scripts @@ -11,9 +11,9 @@ if [ "$1" = "--complete" ]; then fi shopt -s nullglob -RBENV_EXEC_PLUGINS=(/etc/rbenv.d/$1/*.bash ${RBENV_ROOT}/rbenv.d/$1/*.bash) +SCRIPTS=(/etc/rbenv.d/$1/*.bash ${RBENV_ROOT}/rbenv.d/$1/*.bash) shopt -u nullglob -for script in ${RBENV_EXEC_PLUGINS[@]}; do +for script in ${SCRIPTS[@]}; do echo $script done