mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-14 14:23:53 -05:00
Use RBENV_ROOT to search for rbenv-exec plugins
This commit is contained in:
@@ -11,7 +11,7 @@ RBENV_COMMAND_PATH="$(rbenv-which "$RBENV_COMMAND")"
|
||||
RBENV_BIN_PATH="${RBENV_COMMAND_PATH%/*}"
|
||||
|
||||
shopt -s nullglob
|
||||
RBENV_EXEC_PLUGINS=(/etc/rbenv.d/exec/*.bash ${HOME}/.rbenv/rbenv.d/exec/*.bash)
|
||||
RBENV_EXEC_PLUGINS=(/etc/rbenv.d/exec/*.bash ${RBENV_ROOT}/rbenv.d/exec/*.bash)
|
||||
shopt -u nullglob
|
||||
|
||||
for script in ${RBENV_EXEC_PLUGINS[@]}; do
|
||||
|
||||
Reference in New Issue
Block a user